HashiCorp Vault v6.4.0 published on Wednesday, Nov 20, 2024 by Pulumi
vault.ad.getAccessCredentials
Explore with Pulumi AI
Example Usage
Using getAccessCredentials
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAccessCredentials(args: GetAccessCredentialsArgs, opts?: InvokeOptions): Promise<GetAccessCredentialsResult>
function getAccessCredentialsOutput(args: GetAccessCredentialsOutputArgs, opts?: InvokeOptions): Output<GetAccessCredentialsResult>
def get_access_credentials(backend: Optional[str] = None,
namespace: Optional[str] = None,
role: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessCredentialsResult
def get_access_credentials_output(backend: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
role: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessCredentialsResult]
func GetAccessCredentials(ctx *Context, args *GetAccessCredentialsArgs, opts ...InvokeOption) (*GetAccessCredentialsResult, error)
func GetAccessCredentialsOutput(ctx *Context, args *GetAccessCredentialsOutputArgs, opts ...InvokeOption) GetAccessCredentialsResultOutput
> Note: This function is named GetAccessCredentials
in the Go SDK.
public static class GetAccessCredentials
{
public static Task<GetAccessCredentialsResult> InvokeAsync(GetAccessCredentialsArgs args, InvokeOptions? opts = null)
public static Output<GetAccessCredentialsResult> Invoke(GetAccessCredentialsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccessCredentialsResult> getAccessCredentials(GetAccessCredentialsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: vault:ad/getAccessCredentials:getAccessCredentials
arguments:
# arguments dictionary
The following arguments are supported:
- Backend string
- The path to the AD secret backend to
read credentials from, with no leading or trailing
/
s. - Role string
- The name of the AD secret backend role to read
credentials from, with no leading or trailing
/
s. - Namespace string
- The namespace of the target resource.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise.
- Backend string
- The path to the AD secret backend to
read credentials from, with no leading or trailing
/
s. - Role string
- The name of the AD secret backend role to read
credentials from, with no leading or trailing
/
s. - Namespace string
- The namespace of the target resource.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise.
- backend String
- The path to the AD secret backend to
read credentials from, with no leading or trailing
/
s. - role String
- The name of the AD secret backend role to read
credentials from, with no leading or trailing
/
s. - namespace String
- The namespace of the target resource.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise.
- backend string
- The path to the AD secret backend to
read credentials from, with no leading or trailing
/
s. - role string
- The name of the AD secret backend role to read
credentials from, with no leading or trailing
/
s. - namespace string
- The namespace of the target resource.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise.
- backend str
- The path to the AD secret backend to
read credentials from, with no leading or trailing
/
s. - role str
- The name of the AD secret backend role to read
credentials from, with no leading or trailing
/
s. - namespace str
- The namespace of the target resource.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise.
- backend String
- The path to the AD secret backend to
read credentials from, with no leading or trailing
/
s. - role String
- The name of the AD secret backend role to read
credentials from, with no leading or trailing
/
s. - namespace String
- The namespace of the target resource.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise.
getAccessCredentials Result
The following output properties are available:
- Backend string
- Current
Password string - The current set password on the Active Directory service account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Password string - The current set password on the Active Directory service account, provided because AD is eventually consistent.
- Role string
- Username string
- The Active Directory service account username.
- Namespace string
- Backend string
- Current
Password string - The current set password on the Active Directory service account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Password string - The current set password on the Active Directory service account, provided because AD is eventually consistent.
- Role string
- Username string
- The Active Directory service account username.
- Namespace string
- backend String
- current
Password String - The current set password on the Active Directory service account.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Password String - The current set password on the Active Directory service account, provided because AD is eventually consistent.
- role String
- username String
- The Active Directory service account username.
- namespace String
- backend string
- current
Password string - The current set password on the Active Directory service account.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Password string - The current set password on the Active Directory service account, provided because AD is eventually consistent.
- role string
- username string
- The Active Directory service account username.
- namespace string
- backend str
- current_
password str - The current set password on the Active Directory service account.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
password str - The current set password on the Active Directory service account, provided because AD is eventually consistent.
- role str
- username str
- The Active Directory service account username.
- namespace str
- backend String
- current
Password String - The current set password on the Active Directory service account.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Password String - The current set password on the Active Directory service account, provided because AD is eventually consistent.
- role String
- username String
- The Active Directory service account username.
- namespace String
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vault
Terraform Provider.