Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

getHmacKey

Retrieves an HMAC key’s metadata

Using getHmacKey

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 getHmacKey(args: GetHmacKeyArgs, opts?: InvokeOptions): Promise<GetHmacKeyResult>
function getHmacKeyOutput(args: GetHmacKeyOutputArgs, opts?: InvokeOptions): Output<GetHmacKeyResult>
def get_hmac_key(access_id: Optional[str] = None,
                 project: Optional[str] = None,
                 user_project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetHmacKeyResult
def get_hmac_key_output(access_id: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 user_project: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetHmacKeyResult]
func LookupHmacKey(ctx *Context, args *LookupHmacKeyArgs, opts ...InvokeOption) (*LookupHmacKeyResult, error)
func LookupHmacKeyOutput(ctx *Context, args *LookupHmacKeyOutputArgs, opts ...InvokeOption) LookupHmacKeyResultOutput

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

public static class GetHmacKey 
{
    public static Task<GetHmacKeyResult> InvokeAsync(GetHmacKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetHmacKeyResult> Invoke(GetHmacKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHmacKeyResult> getHmacKey(GetHmacKeyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:storage/v1:getHmacKey
  arguments:
    # arguments dictionary

The following arguments are supported:

AccessId string
Project string
UserProject string
AccessId string
Project string
UserProject string
accessId String
project String
userProject String
accessId string
project string
userProject string
accessId String
project String
userProject String

getHmacKey Result

The following output properties are available:

AccessId string

The ID of the HMAC Key.

Etag string

HTTP 1.1 Entity tag for the HMAC key.

Kind string

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

Project string

Project ID owning the service account to which the key authenticates.

SelfLink string

The link to this resource.

ServiceAccountEmail string

The email address of the key's associated service account.

State string

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

TimeCreated string

The creation time of the HMAC key in RFC 3339 format.

Updated string

The last modification time of the HMAC key metadata in RFC 3339 format.

AccessId string

The ID of the HMAC Key.

Etag string

HTTP 1.1 Entity tag for the HMAC key.

Kind string

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

Project string

Project ID owning the service account to which the key authenticates.

SelfLink string

The link to this resource.

ServiceAccountEmail string

The email address of the key's associated service account.

State string

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

TimeCreated string

The creation time of the HMAC key in RFC 3339 format.

Updated string

The last modification time of the HMAC key metadata in RFC 3339 format.

accessId String

The ID of the HMAC Key.

etag String

HTTP 1.1 Entity tag for the HMAC key.

kind String

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

project String

Project ID owning the service account to which the key authenticates.

selfLink String

The link to this resource.

serviceAccountEmail String

The email address of the key's associated service account.

state String

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

timeCreated String

The creation time of the HMAC key in RFC 3339 format.

updated String

The last modification time of the HMAC key metadata in RFC 3339 format.

accessId string

The ID of the HMAC Key.

etag string

HTTP 1.1 Entity tag for the HMAC key.

kind string

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

project string

Project ID owning the service account to which the key authenticates.

selfLink string

The link to this resource.

serviceAccountEmail string

The email address of the key's associated service account.

state string

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

timeCreated string

The creation time of the HMAC key in RFC 3339 format.

updated string

The last modification time of the HMAC key metadata in RFC 3339 format.

access_id str

The ID of the HMAC Key.

etag str

HTTP 1.1 Entity tag for the HMAC key.

kind str

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

project str

Project ID owning the service account to which the key authenticates.

self_link str

The link to this resource.

service_account_email str

The email address of the key's associated service account.

state str

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

time_created str

The creation time of the HMAC key in RFC 3339 format.

updated str

The last modification time of the HMAC key metadata in RFC 3339 format.

accessId String

The ID of the HMAC Key.

etag String

HTTP 1.1 Entity tag for the HMAC key.

kind String

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

project String

Project ID owning the service account to which the key authenticates.

selfLink String

The link to this resource.

serviceAccountEmail String

The email address of the key's associated service account.

state String

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

timeCreated String

The creation time of the HMAC key in RFC 3339 format.

updated String

The last modification time of the HMAC key metadata in RFC 3339 format.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0