GetAccessCredentials
Using GetAccessCredentials
function getAccessCredentials(args: GetAccessCredentialsArgs, opts?: InvokeOptions): Promise<GetAccessCredentialsResult>function get_access_credentials(backend=None, max_cred_validation_seconds=None, num_seconds_between_tests=None, num_sequential_successes=None, role=None, validate_creds=None, opts=None)func GetAccessCredentials(ctx *Context, args *GetAccessCredentialsArgs, opts ...InvokeOption) (*GetAccessCredentialsResult, error)public static class GetAccessCredentials {
public static Task<GetAccessCredentialsResult> InvokeAsync(GetAccessCredentialsArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Backend string
The path to the Azure secret backend to read credentials from, with no leading or trailing
/s.- Role string
The name of the Azure secret backend role to read credentials from, with no leading or trailing
/s.- Max
Cred intValidation Seconds If ‘validate_creds’ is true, the number of seconds after which to give up validating credentials. Defaults to 1,200 (20 minutes).
- Num
Seconds intBetween Tests If ‘validate_creds’ is true, the number of seconds to wait between each test of generated credentials. Defaults to 7.
- Num
Sequential intSuccesses If ‘validate_creds’ is true, the number of sequential successes required to validate generated credentials. Defaults to 8.
- Validate
Creds bool Whether generated credentials should be validated before being returned. Defaults to
false, which returns credentials without checking whether they have fully propagated throughout Azure Active Directory. Designatingtrueactivates testing.
- Backend string
The path to the Azure secret backend to read credentials from, with no leading or trailing
/s.- Role string
The name of the Azure secret backend role to read credentials from, with no leading or trailing
/s.- Max
Cred intValidation Seconds If ‘validate_creds’ is true, the number of seconds after which to give up validating credentials. Defaults to 1,200 (20 minutes).
- Num
Seconds intBetween Tests If ‘validate_creds’ is true, the number of seconds to wait between each test of generated credentials. Defaults to 7.
- Num
Sequential intSuccesses If ‘validate_creds’ is true, the number of sequential successes required to validate generated credentials. Defaults to 8.
- Validate
Creds bool Whether generated credentials should be validated before being returned. Defaults to
false, which returns credentials without checking whether they have fully propagated throughout Azure Active Directory. Designatingtrueactivates testing.
- backend string
The path to the Azure secret backend to read credentials from, with no leading or trailing
/s.- role string
The name of the Azure secret backend role to read credentials from, with no leading or trailing
/s.- max
Cred numberValidation Seconds If ‘validate_creds’ is true, the number of seconds after which to give up validating credentials. Defaults to 1,200 (20 minutes).
- num
Seconds numberBetween Tests If ‘validate_creds’ is true, the number of seconds to wait between each test of generated credentials. Defaults to 7.
- num
Sequential numberSuccesses If ‘validate_creds’ is true, the number of sequential successes required to validate generated credentials. Defaults to 8.
- validate
Creds boolean Whether generated credentials should be validated before being returned. Defaults to
false, which returns credentials without checking whether they have fully propagated throughout Azure Active Directory. Designatingtrueactivates testing.
- backend str
The path to the Azure secret backend to read credentials from, with no leading or trailing
/s.- role str
The name of the Azure secret backend role to read credentials from, with no leading or trailing
/s.- max_
cred_ floatvalidation_ seconds If ‘validate_creds’ is true, the number of seconds after which to give up validating credentials. Defaults to 1,200 (20 minutes).
- num_
seconds_ floatbetween_ tests If ‘validate_creds’ is true, the number of seconds to wait between each test of generated credentials. Defaults to 7.
- num_
sequential_ floatsuccesses If ‘validate_creds’ is true, the number of sequential successes required to validate generated credentials. Defaults to 8.
- validate_
creds bool Whether generated credentials should be validated before being returned. Defaults to
false, which returns credentials without checking whether they have fully propagated throughout Azure Active Directory. Designatingtrueactivates testing.
GetAccessCredentials Result
The following output properties are available:
- Backend string
- Client
Id string The client id for credentials to query the Azure APIs.
- Client
Secret string The client secret for credentials to query the Azure APIs.
- Id string
The provider-assigned unique ID for this managed resource.
- Lease
Duration int The duration of the secret lease, in seconds relative to the time the data was requested. Once this time has passed any plan generated with this data may fail to apply.
- Lease
Id string The lease identifier assigned by Vault.
- Lease
Renewable bool - Lease
Start stringTime - Role string
- Max
Cred intValidation Seconds - Num
Seconds intBetween Tests - Num
Sequential intSuccesses - Validate
Creds bool
- Backend string
- Client
Id string The client id for credentials to query the Azure APIs.
- Client
Secret string The client secret for credentials to query the Azure APIs.
- Id string
The provider-assigned unique ID for this managed resource.
- Lease
Duration int The duration of the secret lease, in seconds relative to the time the data was requested. Once this time has passed any plan generated with this data may fail to apply.
- Lease
Id string The lease identifier assigned by Vault.
- Lease
Renewable bool - Lease
Start stringTime - Role string
- Max
Cred intValidation Seconds - Num
Seconds intBetween Tests - Num
Sequential intSuccesses - Validate
Creds bool
- backend string
- client
Id string The client id for credentials to query the Azure APIs.
- client
Secret string The client secret for credentials to query the Azure APIs.
- id string
The provider-assigned unique ID for this managed resource.
- lease
Duration number The duration of the secret lease, in seconds relative to the time the data was requested. Once this time has passed any plan generated with this data may fail to apply.
- lease
Id string The lease identifier assigned by Vault.
- lease
Renewable boolean - lease
Start stringTime - role string
- max
Cred numberValidation Seconds - num
Seconds numberBetween Tests - num
Sequential numberSuccesses - validate
Creds boolean
- backend str
- client_
id str The client id for credentials to query the Azure APIs.
- client_
secret str The client secret for credentials to query the Azure APIs.
- id str
The provider-assigned unique ID for this managed resource.
- lease_
duration float The duration of the secret lease, in seconds relative to the time the data was requested. Once this time has passed any plan generated with this data may fail to apply.
- lease_
id str The lease identifier assigned by Vault.
- lease_
renewable bool - lease_
start_ strtime - role str
- max_
cred_ floatvalidation_ seconds - num_
seconds_ floatbetween_ tests - num_
sequential_ floatsuccesses - validate_
creds bool
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.