1. Packages
  2. Alks Provider
  3. API Docs
  4. getKeys
alks 2.8.2 published on Monday, Apr 14, 2025 by cox-automotive

alks.getKeys

Explore with Pulumi AI

alks 2.8.2 published on Monday, Apr 14, 2025 by cox-automotive

# Data Source: alks.getKeys

Returns credentials for a given AWS account using ALKS.

Using getKeys

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 getKeys(args: GetKeysArgs, opts?: InvokeOptions): Promise<GetKeysResult>
function getKeysOutput(args: GetKeysOutputArgs, opts?: InvokeOptions): Output<GetKeysResult>
Copy
def get_keys(id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetKeysResult
def get_keys_output(id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetKeysResult]
Copy
func GetKeys(ctx *Context, args *GetKeysArgs, opts ...InvokeOption) (*GetKeysResult, error)
func GetKeysOutput(ctx *Context, args *GetKeysOutputArgs, opts ...InvokeOption) GetKeysResultOutput
Copy

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

public static class GetKeys 
{
    public static Task<GetKeysResult> InvokeAsync(GetKeysArgs args, InvokeOptions? opts = null)
    public static Output<GetKeysResult> Invoke(GetKeysInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetKeysResult> getKeys(GetKeysArgs args, InvokeOptions options)
public static Output<GetKeysResult> getKeys(GetKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alks:index/getKeys:getKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Id string
id String
id string
id str
id String

getKeys Result

The following output properties are available:

AccessKey string
Generated access key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
Account string
The account number of the returned keys.
Id string
Role string
The role from the returned keys.
SecretKey string
Generated secret key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
SessionToken string
Generated session token for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
AccessKey string
Generated access key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
Account string
The account number of the returned keys.
Id string
Role string
The role from the returned keys.
SecretKey string
Generated secret key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
SessionToken string
Generated session token for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
accessKey String
Generated access key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
account String
The account number of the returned keys.
id String
role String
The role from the returned keys.
secretKey String
Generated secret key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
sessionToken String
Generated session token for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
accessKey string
Generated access key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
account string
The account number of the returned keys.
id string
role string
The role from the returned keys.
secretKey string
Generated secret key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
sessionToken string
Generated session token for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
access_key str
Generated access key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
account str
The account number of the returned keys.
id str
role str
The role from the returned keys.
secret_key str
Generated secret key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
session_token str
Generated session token for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
accessKey String
Generated access key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
account String
The account number of the returned keys.
id String
role String
The role from the returned keys.
secretKey String
Generated secret key for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.
sessionToken String
Generated session token for the specified provider. If multiple providers, it takes the provider field. Otherwise, uses the initial provider.

Package Details

Repository
alks cox-automotive/terraform-provider-alks
License
Notes
This Pulumi package is based on the alks Terraform Provider.
alks 2.8.2 published on Monday, Apr 14, 2025 by cox-automotive