Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.iam/v1.getWorkforcePoolKey
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a WorkforcePoolProviderKey.
Using getWorkforcePoolKey
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 getWorkforcePoolKey(args: GetWorkforcePoolKeyArgs, opts?: InvokeOptions): Promise<GetWorkforcePoolKeyResult>
function getWorkforcePoolKeyOutput(args: GetWorkforcePoolKeyOutputArgs, opts?: InvokeOptions): Output<GetWorkforcePoolKeyResult>def get_workforce_pool_key(key_id: Optional[str] = None,
                           location: Optional[str] = None,
                           provider_id: Optional[str] = None,
                           workforce_pool_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetWorkforcePoolKeyResult
def get_workforce_pool_key_output(key_id: Optional[pulumi.Input[str]] = None,
                           location: Optional[pulumi.Input[str]] = None,
                           provider_id: Optional[pulumi.Input[str]] = None,
                           workforce_pool_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetWorkforcePoolKeyResult]func LookupWorkforcePoolKey(ctx *Context, args *LookupWorkforcePoolKeyArgs, opts ...InvokeOption) (*LookupWorkforcePoolKeyResult, error)
func LookupWorkforcePoolKeyOutput(ctx *Context, args *LookupWorkforcePoolKeyOutputArgs, opts ...InvokeOption) LookupWorkforcePoolKeyResultOutput> Note: This function is named LookupWorkforcePoolKey in the Go SDK.
public static class GetWorkforcePoolKey 
{
    public static Task<GetWorkforcePoolKeyResult> InvokeAsync(GetWorkforcePoolKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkforcePoolKeyResult> Invoke(GetWorkforcePoolKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkforcePoolKeyResult> getWorkforcePoolKey(GetWorkforcePoolKeyArgs args, InvokeOptions options)
public static Output<GetWorkforcePoolKeyResult> getWorkforcePoolKey(GetWorkforcePoolKeyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:iam/v1:getWorkforcePoolKey
  arguments:
    # arguments dictionaryThe following arguments are supported:
- KeyId string
- Location string
- ProviderId string
- WorkforcePool stringId 
- KeyId string
- Location string
- ProviderId string
- WorkforcePool stringId 
- keyId String
- location String
- providerId String
- workforcePool StringId 
- keyId string
- location string
- providerId string
- workforcePool stringId 
- key_id str
- location str
- provider_id str
- workforce_pool_ strid 
- keyId String
- location String
- providerId String
- workforcePool StringId 
getWorkforcePoolKey Result
The following output properties are available:
- ExpireTime string
- The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded.
- KeyData Pulumi.Google Native. IAM. V1. Outputs. Key Data Response 
- Immutable. Public half of the asymmetric key.
- Name string
- The resource name of the key.
- State string
- The state of the key.
- Use string
- The purpose of the key.
- ExpireTime string
- The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded.
- KeyData KeyData Response 
- Immutable. Public half of the asymmetric key.
- Name string
- The resource name of the key.
- State string
- The state of the key.
- Use string
- The purpose of the key.
- expireTime String
- The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded.
- keyData KeyData Response 
- Immutable. Public half of the asymmetric key.
- name String
- The resource name of the key.
- state String
- The state of the key.
- use String
- The purpose of the key.
- expireTime string
- The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded.
- keyData KeyData Response 
- Immutable. Public half of the asymmetric key.
- name string
- The resource name of the key.
- state string
- The state of the key.
- use string
- The purpose of the key.
- expire_time str
- The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded.
- key_data KeyData Response 
- Immutable. Public half of the asymmetric key.
- name str
- The resource name of the key.
- state str
- The state of the key.
- use str
- The purpose of the key.
- expireTime String
- The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded.
- keyData Property Map
- Immutable. Public half of the asymmetric key.
- name String
- The resource name of the key.
- state String
- The state of the key.
- use String
- The purpose of the key.
Supporting Types
KeyDataResponse  
- Format string
- The format of the key.
- Key string
- The key data. The format of the key is represented by the format field.
- KeySpec string
- The specifications for the key.
- NotAfter stringTime 
- Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
- NotBefore stringTime 
- Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
- Format string
- The format of the key.
- Key string
- The key data. The format of the key is represented by the format field.
- KeySpec string
- The specifications for the key.
- NotAfter stringTime 
- Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
- NotBefore stringTime 
- Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
- format String
- The format of the key.
- key String
- The key data. The format of the key is represented by the format field.
- keySpec String
- The specifications for the key.
- notAfter StringTime 
- Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
- notBefore StringTime 
- Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
- format string
- The format of the key.
- key string
- The key data. The format of the key is represented by the format field.
- keySpec string
- The specifications for the key.
- notAfter stringTime 
- Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
- notBefore stringTime 
- Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
- format str
- The format of the key.
- key str
- The key data. The format of the key is represented by the format field.
- key_spec str
- The specifications for the key.
- not_after_ strtime 
- Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
- not_before_ strtime 
- Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
- format String
- The format of the key.
- key String
- The key data. The format of the key is represented by the format field.
- keySpec String
- The specifications for the key.
- notAfter StringTime 
- Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
- notBefore StringTime 
- Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi