mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update document related with azure_rm_keyvault module (#57110)
This commit is contained in:
parent
163d3efbf8
commit
ba18dd713a
3 changed files with 34 additions and 30 deletions
|
@ -17,7 +17,7 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: azure_rm_keyvault
|
module: azure_rm_keyvault
|
||||||
version_added: "2.5"
|
version_added: "2.5"
|
||||||
short_description: Manage Key Vault instance.
|
short_description: Manage Key Vault instance
|
||||||
description:
|
description:
|
||||||
- Create, update and delete instance of Key Vault.
|
- Create, update and delete instance of Key Vault.
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ options:
|
||||||
required: True
|
required: True
|
||||||
vault_name:
|
vault_name:
|
||||||
description:
|
description:
|
||||||
- Name of the vault
|
- Name of the vault.
|
||||||
required: True
|
required: True
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
|
@ -38,11 +38,11 @@ options:
|
||||||
- The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
|
- The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
|
||||||
sku:
|
sku:
|
||||||
description:
|
description:
|
||||||
- SKU details
|
- SKU details.
|
||||||
suboptions:
|
suboptions:
|
||||||
family:
|
family:
|
||||||
description:
|
description:
|
||||||
- SKU family name
|
- SKU family name.
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- SKU name to specify whether the key vault is a standard vault or a premium vault.
|
- SKU name to specify whether the key vault is a standard vault or a premium vault.
|
||||||
|
@ -52,8 +52,8 @@ options:
|
||||||
- 'premium'
|
- 'premium'
|
||||||
access_policies:
|
access_policies:
|
||||||
description:
|
description:
|
||||||
- "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's
|
- An array of 0 to 16 identities that have access to the key vault.
|
||||||
tenant ID."
|
- All identities in the array must use the same tenant ID as the key vault's tenant ID.
|
||||||
suboptions:
|
suboptions:
|
||||||
tenant_id:
|
tenant_id:
|
||||||
description:
|
description:
|
||||||
|
@ -61,16 +61,16 @@ options:
|
||||||
- Current keyvault C(tenant_id) value will be used if not specified.
|
- Current keyvault C(tenant_id) value will be used if not specified.
|
||||||
object_id:
|
object_id:
|
||||||
description:
|
description:
|
||||||
- "The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be
|
- The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault.
|
||||||
unique for the list of access policies."
|
- The object ID must be unique for the list of access policies.
|
||||||
- Please note this is not application id. Object id can be obtained by running "az ad sp show --id <application id>".
|
- Please note this is not application id. Object id can be obtained by running "az ad sp show --id <application id>".
|
||||||
required: True
|
required: True
|
||||||
application_id:
|
application_id:
|
||||||
description:
|
description:
|
||||||
- Application ID of the client making request on behalf of a principal
|
- Application ID of the client making request on behalf of a principal.
|
||||||
keys:
|
keys:
|
||||||
description:
|
description:
|
||||||
- List of permissions to keys
|
- List of permissions to keys.
|
||||||
choices:
|
choices:
|
||||||
- 'encrypt'
|
- 'encrypt'
|
||||||
- 'decrypt'
|
- 'decrypt'
|
||||||
|
@ -90,7 +90,7 @@ options:
|
||||||
- 'purge'
|
- 'purge'
|
||||||
secrets:
|
secrets:
|
||||||
description:
|
description:
|
||||||
- List of permissions to secrets
|
- List of permissions to secrets.
|
||||||
choices:
|
choices:
|
||||||
- 'get'
|
- 'get'
|
||||||
- 'list'
|
- 'list'
|
||||||
|
@ -102,7 +102,7 @@ options:
|
||||||
- 'purge'
|
- 'purge'
|
||||||
certificates:
|
certificates:
|
||||||
description:
|
description:
|
||||||
- List of permissions to certificates
|
- List of permissions to certificates.
|
||||||
choices:
|
choices:
|
||||||
- 'get'
|
- 'get'
|
||||||
- 'list'
|
- 'list'
|
||||||
|
@ -120,7 +120,7 @@ options:
|
||||||
- 'purge'
|
- 'purge'
|
||||||
storage:
|
storage:
|
||||||
description:
|
description:
|
||||||
- List of permissions to storage accounts
|
- List of permissions to storage accounts.
|
||||||
enabled_for_deployment:
|
enabled_for_deployment:
|
||||||
description:
|
description:
|
||||||
- Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
|
- Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
|
||||||
|
@ -154,7 +154,7 @@ extends_documentation_fragment:
|
||||||
- azure_tags
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Zim Kalinowski (@zikalino)"
|
- Zim Kalinowski (@zikalino)
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,11 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: azure_rm_keyvaultkey
|
module: azure_rm_keyvaultkey
|
||||||
version_added: 2.5
|
version_added: 2.5
|
||||||
short_description: Use Azure KeyVault keys.
|
short_description: Use Azure KeyVault keys
|
||||||
description:
|
description:
|
||||||
- Create or delete a key within a given keyvault. By using Key Vault, you can encrypt
|
- Create or delete a key within a given keyvault.
|
||||||
keys and secrets (such as authentication keys, storage account keys, data encryption keys, .PFX files, and passwords).
|
- By using Key Vault, you can encrypt keys and secrets.
|
||||||
|
- Such as authentication keys, storage account keys, data encryption keys, .PFX files, and passwords.
|
||||||
options:
|
options:
|
||||||
keyvault_uri:
|
keyvault_uri:
|
||||||
description:
|
description:
|
||||||
|
@ -39,8 +40,7 @@ options:
|
||||||
- PEM password.
|
- PEM password.
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Assert the state of the key. Use C(present) to create a key and
|
- Assert the state of the key. Use C(present) to create a key and C(absent) to delete a key.
|
||||||
C(absent) to delete a key.
|
|
||||||
default: present
|
default: present
|
||||||
choices:
|
choices:
|
||||||
- absent
|
- absent
|
||||||
|
@ -51,7 +51,7 @@ extends_documentation_fragment:
|
||||||
- azure_tags
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Ian Philpot (@iphilpot)"
|
- Ian Philpot (@iphilpot)
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
@ -70,12 +70,14 @@ EXAMPLES = '''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
state:
|
state:
|
||||||
description: Current state of the key.
|
description:
|
||||||
|
- Current state of the key.
|
||||||
returned: success
|
returned: success
|
||||||
type: complex
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
key_id:
|
key_id:
|
||||||
description: key resource path.
|
description:
|
||||||
|
- key resource path.
|
||||||
type: str
|
type: str
|
||||||
example: https://contoso.vault.azure.net/keys/hello/e924f053839f4431b35bc54393f98423
|
example: https://contoso.vault.azure.net/keys/hello/e924f053839f4431b35bc54393f98423
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -15,10 +15,11 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: azure_rm_keyvaultsecret
|
module: azure_rm_keyvaultsecret
|
||||||
version_added: 2.5
|
version_added: 2.5
|
||||||
short_description: Use Azure KeyVault Secrets.
|
short_description: Use Azure KeyVault Secrets
|
||||||
description:
|
description:
|
||||||
- Create or delete a secret within a given keyvault. By using Key Vault, you can encrypt
|
- Create or delete a secret within a given keyvault.
|
||||||
keys and secrets (such as authentication keys, storage account keys, data encryption keys, .PFX files, and passwords).
|
- By using Key Vault, you can encrypt keys and secrets.
|
||||||
|
- Such as authentication keys, storage account keys, data encryption keys, .PFX files, and passwords.
|
||||||
options:
|
options:
|
||||||
keyvault_uri:
|
keyvault_uri:
|
||||||
description:
|
description:
|
||||||
|
@ -33,8 +34,7 @@ options:
|
||||||
- Secret to be secured by keyvault.
|
- Secret to be secured by keyvault.
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Assert the state of the subnet. Use C(present) to create or update a secret and
|
- Assert the state of the subnet. Use C(present) to create or update a secret and C(absent) to delete a secret .
|
||||||
C(absent) to delete a secret .
|
|
||||||
default: present
|
default: present
|
||||||
choices:
|
choices:
|
||||||
- absent
|
- absent
|
||||||
|
@ -45,7 +45,7 @@ extends_documentation_fragment:
|
||||||
- azure_tags
|
- azure_tags
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Ian Philpot (@iphilpot)"
|
- Ian Philpot (@iphilpot)
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
@ -68,12 +68,14 @@ EXAMPLES = '''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
state:
|
state:
|
||||||
description: Current state of the secret.
|
description:
|
||||||
|
- Current state of the secret.
|
||||||
returned: success
|
returned: success
|
||||||
type: complex
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
secret_id:
|
secret_id:
|
||||||
description: Secret resource path.
|
description:
|
||||||
|
- Secret resource path.
|
||||||
type: str
|
type: str
|
||||||
example: https://contoso.vault.azure.net/secrets/hello/e924f053839f4431b35bc54393f98423
|
example: https://contoso.vault.azure.net/secrets/hello/e924f053839f4431b35bc54393f98423
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue