ArmNetAppModelFactory.CredentialsKeyVaultDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NetApp.Models.CredentialsKeyVaultDetails CredentialsKeyVaultDetails(Uri credentialsKeyVaultUri = default, string secretName = default, Azure.Core.ResourceIdentifier userAssignedIdentity = default);
static member CredentialsKeyVaultDetails : Uri * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.Models.CredentialsKeyVaultDetails
Public Shared Function CredentialsKeyVaultDetails (Optional credentialsKeyVaultUri As Uri = Nothing, Optional secretName As String = Nothing, Optional userAssignedIdentity As ResourceIdentifier = Nothing) As CredentialsKeyVaultDetails
Parameters
- credentialsKeyVaultUri
- Uri
The base URI of the Azure Key Vault that is used when storing the bucket credentials.
- secretName
- String
The name of the secret stored in Azure Key Vault. The associated key pair has the following structure: { "access_key_id": "<REDACTED>", "secret_access_key": "<REDACTED>" }
- userAssignedIdentity
- ResourceIdentifier
Optional resource ID of the managed identity that has access to the Azure Key Vault (AKV) secret. If a value is provided, it is used to find a matching entry in the account's collection of user-assigned managed identities. If no match is found, an exception is thrown. If no value is provided, the system-assigned managed identity is used.
Returns
A new CredentialsKeyVaultDetails instance for mocking.