1. Packages
  2. Google Cloud Native
  3. API Docs
  4. iam
  5. iam/v1
  6. getWorkloadIdentityPoolKey

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.getWorkloadIdentityPoolKey

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 an individual WorkloadIdentityPoolProviderKey.

Using getWorkloadIdentityPoolKey

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 getWorkloadIdentityPoolKey(args: GetWorkloadIdentityPoolKeyArgs, opts?: InvokeOptions): Promise<GetWorkloadIdentityPoolKeyResult>
function getWorkloadIdentityPoolKeyOutput(args: GetWorkloadIdentityPoolKeyOutputArgs, opts?: InvokeOptions): Output<GetWorkloadIdentityPoolKeyResult>
Copy
def get_workload_identity_pool_key(key_id: Optional[str] = None,
                                   location: Optional[str] = None,
                                   project: Optional[str] = None,
                                   provider_id: Optional[str] = None,
                                   workload_identity_pool_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetWorkloadIdentityPoolKeyResult
def get_workload_identity_pool_key_output(key_id: Optional[pulumi.Input[str]] = None,
                                   location: Optional[pulumi.Input[str]] = None,
                                   project: Optional[pulumi.Input[str]] = None,
                                   provider_id: Optional[pulumi.Input[str]] = None,
                                   workload_identity_pool_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadIdentityPoolKeyResult]
Copy
func LookupWorkloadIdentityPoolKey(ctx *Context, args *LookupWorkloadIdentityPoolKeyArgs, opts ...InvokeOption) (*LookupWorkloadIdentityPoolKeyResult, error)
func LookupWorkloadIdentityPoolKeyOutput(ctx *Context, args *LookupWorkloadIdentityPoolKeyOutputArgs, opts ...InvokeOption) LookupWorkloadIdentityPoolKeyResultOutput
Copy

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

public static class GetWorkloadIdentityPoolKey 
{
    public static Task<GetWorkloadIdentityPoolKeyResult> InvokeAsync(GetWorkloadIdentityPoolKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkloadIdentityPoolKeyResult> Invoke(GetWorkloadIdentityPoolKeyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWorkloadIdentityPoolKeyResult> getWorkloadIdentityPoolKey(GetWorkloadIdentityPoolKeyArgs args, InvokeOptions options)
public static Output<GetWorkloadIdentityPoolKeyResult> getWorkloadIdentityPoolKey(GetWorkloadIdentityPoolKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:iam/v1:getWorkloadIdentityPoolKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

KeyId This property is required. string
Location This property is required. string
ProviderId This property is required. string
WorkloadIdentityPoolId This property is required. string
Project string
KeyId This property is required. string
Location This property is required. string
ProviderId This property is required. string
WorkloadIdentityPoolId This property is required. string
Project string
keyId This property is required. String
location This property is required. String
providerId This property is required. String
workloadIdentityPoolId This property is required. String
project String
keyId This property is required. string
location This property is required. string
providerId This property is required. string
workloadIdentityPoolId This property is required. string
project string
key_id This property is required. str
location This property is required. str
provider_id This property is required. str
workload_identity_pool_id This property is required. str
project str
keyId This property is required. String
location This property is required. String
providerId This property is required. String
workloadIdentityPoolId This property is required. String
project String

getWorkloadIdentityPoolKey Result

The following output properties are available:

ExpireTime string
Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
KeyData Pulumi.GoogleNative.IAM.V1.Outputs.KeyDataResponse
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
Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
KeyData KeyDataResponse
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
Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
keyData KeyDataResponse
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
Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
keyData KeyDataResponse
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
Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
key_data KeyDataResponse
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
Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed.
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 This property is required. string
The format of the key.
Key This property is required. string
The key data. The format of the key is represented by the format field.
KeySpec This property is required. string
The specifications for the key.
NotAfterTime This property is required. string
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.
NotBeforeTime This property is required. string
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 This property is required. string
The format of the key.
Key This property is required. string
The key data. The format of the key is represented by the format field.
KeySpec This property is required. string
The specifications for the key.
NotAfterTime This property is required. string
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.
NotBeforeTime This property is required. string
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 This property is required. String
The format of the key.
key This property is required. String
The key data. The format of the key is represented by the format field.
keySpec This property is required. String
The specifications for the key.
notAfterTime This property is required. String
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.
notBeforeTime This property is required. String
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 This property is required. string
The format of the key.
key This property is required. string
The key data. The format of the key is represented by the format field.
keySpec This property is required. string
The specifications for the key.
notAfterTime This property is required. string
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.
notBeforeTime This property is required. string
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 This property is required. str
The format of the key.
key This property is required. str
The key data. The format of the key is represented by the format field.
key_spec This property is required. str
The specifications for the key.
not_after_time This property is required. str
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_time This property is required. str
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 This property is required. String
The format of the key.
key This property is required. String
The key data. The format of the key is represented by the format field.
keySpec This property is required. String
The specifications for the key.
notAfterTime This property is required. String
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.
notBeforeTime This property is required. String
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