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.storage/v1.getHmacKey
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
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:
- Access
Id string - Project string
- User
Project string
- Access
Id string - Project string
- User
Project string
- access
Id String - project String
- user
Project String
- access
Id string - project string
- user
Project string
- access_
id str - project str
- user_
project str
- access
Id String - project String
- user
Project String
getHmacKey Result
The following output properties are available:
- Access
Id 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.
- Self
Link string - The link to this resource.
- Service
Account stringEmail - 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.
- Time
Created 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 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.
- Self
Link string - The link to this resource.
- Service
Account stringEmail - 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.
- Time
Created 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 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.
- self
Link String - The link to this resource.
- service
Account StringEmail - 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.
- time
Created 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 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.
- self
Link string - The link to this resource.
- service
Account stringEmail - 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.
- time
Created 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_ stremail - 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.
- access
Id 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.
- self
Link String - The link to this resource.
- service
Account StringEmail - 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.
- time
Created 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
- 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