AWS Classic

v4.30.0 published on Tuesday, Nov 30, 2021 by Pulumi

getCredentials

Using getCredentials

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 getCredentials(args: GetCredentialsArgs, opts?: InvokeOptions): Promise<GetCredentialsResult>
function getCredentialsOutput(args: GetCredentialsOutputArgs, opts?: InvokeOptions): Output<GetCredentialsResult>
def get_credentials(registry_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCredentialsResult
def get_credentials_output(registry_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCredentialsResult]
func GetCredentials(ctx *Context, args *GetCredentialsArgs, opts ...InvokeOption) (*GetCredentialsResult, error)
func GetCredentialsOutput(ctx *Context, args *GetCredentialsOutputArgs, opts ...InvokeOption) GetCredentialsResultOutput

> Note: This function is named GetCredentials in the Go SDK.

public static class GetCredentials 
{
    public static Task<GetCredentialsResult> InvokeAsync(GetCredentialsArgs args, InvokeOptions? opts = null)
    public static Output<GetCredentialsResult> Invoke(GetCredentialsInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

RegistryId string
RegistryId string
registryId string

getCredentials Result

The following output properties are available:

AuthorizationToken string
ExpiresAt string
Id string
The provider-assigned unique ID for this managed resource.
ProxyEndpoint string
RegistryId string
AuthorizationToken string
ExpiresAt string
Id string
The provider-assigned unique ID for this managed resource.
ProxyEndpoint string
RegistryId string
authorizationToken string
expiresAt string
id string
The provider-assigned unique ID for this managed resource.
proxyEndpoint string
registryId string
authorization_token str
expires_at str
id str
The provider-assigned unique ID for this managed resource.
proxy_endpoint str
registry_id str

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.