AWS Classic

v5.21.1 published on Thursday, Nov 17, 2022 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)
}
public static CompletableFuture<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:ecr/getCredentials:getCredentials
  arguments:
    # arguments dictionary

The following arguments are supported:

RegistryId string
RegistryId string
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
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
authorizationToken String
expiresAt String
id String

The provider-assigned unique ID for this managed resource.

proxyEndpoint String
registryId String

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.