azure.keyvault.key_vault_id module

Module contents

class azure.keyvault.key_vault_id.KeyVaultId(collection, vault, name, version)[source]

Bases: object

An identifier for an Azure Key Vault resource.

Parameters:
  • collection (str) – The resource collection type.
  • vault (str) – The vault URI.
  • name (str) – The resource name.
  • version (str) – The resource version.
azure.keyvault.key_vault_id.create_certificate_id(vault, name, version=None)[source]
Parameters:
  • vault (str) – The vault uri.
  • name (str) – The certificate name.
  • version (str) – The certificate version.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.create_certificate_issuer_id(vault, name)[source]
Parameters:
  • vault (str) – The vault uri.
  • name (str) – The certificate name.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.create_certificate_operation_id(vault, name)[source]
Parameters:
  • vault (str) – The vault uri.
  • name (str) – The certificate name.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.create_key_id(vault, name, version=None)[source]
Parameters:
  • vault (str) – The vault uri.
  • name (str) – The key name.
  • version (str) – The key version.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.create_object_id(collection, vault, name, version)[source]
Parameters:
  • collection (str) – The resource collection type.
  • vault (str) – The vault URI.
  • name (str) – The resource name.
  • version (str) – The resource version.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.create_secret_id(vault, name, version=None)[source]
Parameters:
  • vault (str) – The vault uri.
  • name (str) – The secret name.
  • version (str) – The secret version.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.parse_certificate_id(id)[source]
Parameters:id (str) – The resource collection type.
Return type:KeyVaultId
azure.keyvault.key_vault_id.parse_certificate_issuer_id(id)[source]
Parameters:id (str) – The resource collection type.
Return type:KeyVaultId
azure.keyvault.key_vault_id.parse_certificate_operation_id(id)[source]
Parameters:id (str) – The resource collection type.
Return type:KeyVaultId
azure.keyvault.key_vault_id.parse_key_id(id)[source]
Parameters:id (str) – The key uri.
Return type:KeyVaultId
azure.keyvault.key_vault_id.parse_object_id(collection, id)[source]
Parameters:
  • collection (str) – The resource collection type.
  • id (str) – The resource uri.
Return type:

KeyVaultId

azure.keyvault.key_vault_id.parse_secret_id(id)[source]
Parameters:id (str) – The secret uri.
Return type:KeyVaultId