-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.compute.v2019_03_01.models.VaultCertificate.yml
85 lines (64 loc) · 2.92 KB
/
azure.mgmt.compute.v2019_03_01.models.VaultCertificate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2019_03_01.models.VaultCertificate
name: VaultCertificate
fullName: azure.mgmt.compute.v2019_03_01.models.VaultCertificate
module: azure.mgmt.compute.v2019_03_01.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: 'Describes a single certificate reference in a Key Vault, and where the certificate
should
reside on the VM.'
constructor:
syntax: 'VaultCertificate(*, certificate_url: str | None = None, certificate_store:
str | None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: certificate_url
description: 'This is the URL of a certificate that has been uploaded to Key Vault
as a secret. For adding a secret to the Key Vault, see [Add a key or secret
to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).
In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object
which is encoded
in UTF-8: `<br>``<br>` {`<br>`
"data":"`<Base64-encoded-certificate>`",:code:*<br>* "dataType":"pfx",:code:*<br>*
"password":"`<pfx-file-password>`"`<br>`}.'
types:
- <xref:str>
- name: certificate_store
description: 'For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate
store is implicitly
in the LocalMachine account. `<br>`:code:>>`<<<br>`For Linux VMs, the certificate
file is
placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt
for the X509 certificate file and <UppercaseThumbprint>.prv for private
key. Both of
these files are .pem formatted.'
types:
- <xref:str>
variables:
- description: 'This is the URL of a certificate that has been uploaded to Key Vault
as
a secret. For adding a secret to the Key Vault, see [Add a key or secret to the
key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).
In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object
which is encoded
in UTF-8: `<br>``<br>` {`<br>`
"data":"`<Base64-encoded-certificate>`",:code:*<br>* "dataType":"pfx",:code:*<br>*
"password":"`<pfx-file-password>`"`<br>`}.'
name: certificate_url
types:
- <xref:str>
- description: 'For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store
is implicitly
in the LocalMachine account. `<br>`:code:>>`<<<br>`For Linux VMs, the certificate
file is
placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt
for the X509 certificate file and <UppercaseThumbprint>.prv for private
key. Both of
these files are .pem formatted.'
name: certificate_store
types:
- <xref:str>