1. Packages
  2. HashiCorp Vault Provider
  3. API Docs
  4. ad
  5. getAccessCredentials
HashiCorp Vault v6.6.0 published on Thursday, Mar 13, 2025 by Pulumi

vault.ad.getAccessCredentials

Explore with Pulumi AI

HashiCorp Vault v6.6.0 published on Thursday, Mar 13, 2025 by Pulumi

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>
Copy
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]
Copy
func GetAccessCredentials(ctx *Context, args *GetAccessCredentialsArgs, opts ...InvokeOption) (*GetAccessCredentialsResult, error)
func GetAccessCredentialsOutput(ctx *Context, args *GetAccessCredentialsOutputArgs, opts ...InvokeOption) GetAccessCredentialsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAccessCredentialsResult> getAccessCredentials(GetAccessCredentialsArgs args, InvokeOptions options)
public static Output<GetAccessCredentialsResult> getAccessCredentials(GetAccessCredentialsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: vault:ad/getAccessCredentials:getAccessCredentials
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Backend This property is required. string
The path to the AD secret backend to read credentials from, with no leading or trailing /s.
Role
This property is required.
Changes to this property will trigger replacement.
string
The name of the AD secret backend role to read credentials from, with no leading or trailing /s.
Namespace Changes to this property will trigger replacement. 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 This property is required. string
The path to the AD secret backend to read credentials from, with no leading or trailing /s.
Role
This property is required.
Changes to this property will trigger replacement.
string
The name of the AD secret backend role to read credentials from, with no leading or trailing /s.
Namespace Changes to this property will trigger replacement. 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 This property is required. String
The path to the AD secret backend to read credentials from, with no leading or trailing /s.
role
This property is required.
Changes to this property will trigger replacement.
String
The name of the AD secret backend role to read credentials from, with no leading or trailing /s.
namespace Changes to this property will trigger replacement. 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 This property is required. string
The path to the AD secret backend to read credentials from, with no leading or trailing /s.
role
This property is required.
Changes to this property will trigger replacement.
string
The name of the AD secret backend role to read credentials from, with no leading or trailing /s.
namespace Changes to this property will trigger replacement. 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 This property is required. str
The path to the AD secret backend to read credentials from, with no leading or trailing /s.
role
This property is required.
Changes to this property will trigger replacement.
str
The name of the AD secret backend role to read credentials from, with no leading or trailing /s.
namespace Changes to this property will trigger replacement. 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 This property is required. String
The path to the AD secret backend to read credentials from, with no leading or trailing /s.
role
This property is required.
Changes to this property will trigger replacement.
String
The name of the AD secret backend role to read credentials from, with no leading or trailing /s.
namespace Changes to this property will trigger replacement. 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
CurrentPassword string
The current set password on the Active Directory service account.
Id string
The provider-assigned unique ID for this managed resource.
LastPassword 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
CurrentPassword string
The current set password on the Active Directory service account.
Id string
The provider-assigned unique ID for this managed resource.
LastPassword 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
currentPassword String
The current set password on the Active Directory service account.
id String
The provider-assigned unique ID for this managed resource.
lastPassword 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
currentPassword string
The current set password on the Active Directory service account.
id string
The provider-assigned unique ID for this managed resource.
lastPassword 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
currentPassword String
The current set password on the Active Directory service account.
id String
The provider-assigned unique ID for this managed resource.
lastPassword 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.
HashiCorp Vault v6.6.0 published on Thursday, Mar 13, 2025 by Pulumi