ListStorageAccountKeys
Using ListStorageAccountKeys
function listStorageAccountKeys(args: ListStorageAccountKeysArgs, opts?: InvokeOptions): Promise<ListStorageAccountKeysResult>
def list_storage_account_keys(account_name: Optional[str] = None, expand: Optional[str] = None, resource_group_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> ListStorageAccountKeysResult
func ListStorageAccountKeys(ctx *Context, args *ListStorageAccountKeysArgs, opts ...InvokeOption) (*ListStorageAccountKeysResult, error)
public static class ListStorageAccountKeys {
public static Task<ListStorageAccountKeysResult> InvokeAsync(ListStorageAccountKeysArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- Expand string
- Specifies type of the key to be listed. Possible value is kerb.
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- Expand string
- Specifies type of the key to be listed. Possible value is kerb.
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- expand string
- Specifies type of the key to be listed. Possible value is kerb.
- account_
name str - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource_
group_ strname - The name of the resource group within the user’s subscription. The name is case insensitive.
- expand str
- Specifies type of the key to be listed. Possible value is kerb.
ListStorageAccountKeys Result
The following output properties are available:
- Keys
List<Pulumi.
Azure Next Gen. Storage. Outputs. Storage Account Key Response> - Gets the list of storage account keys and their properties for the specified storage account.
- Keys
[]Storage
Account Key Response - Gets the list of storage account keys and their properties for the specified storage account.
- keys
Storage
Account Key Response[] - Gets the list of storage account keys and their properties for the specified storage account.
- keys
Sequence[Storage
Account Key Response] - Gets the list of storage account keys and their properties for the specified storage account.
Supporting Types
StorageAccountKeyResponse
- Key
Name string - Name of the key.
- Permissions string
- Permissions for the key – read-only or full permissions.
- Value string
- Base 64-encoded value of the key.
- Key
Name string - Name of the key.
- Permissions string
- Permissions for the key – read-only or full permissions.
- Value string
- Base 64-encoded value of the key.
- key
Name string - Name of the key.
- permissions string
- Permissions for the key – read-only or full permissions.
- value string
- Base 64-encoded value of the key.
- key_
name str - Name of the key.
- permissions str
- Permissions for the key – read-only or full permissions.
- value str
- Base 64-encoded value of the key.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0