The scaleway.keymanager.getVerify data source is used to verify a message signature against a message digest with a given key. The key must have its usage set to asymmetric_signing. The message digest must be generated using the same digest algorithm that is defined in the key’s algorithm configuration, and encoded as a base64 string.
Refer to the Key Manager documentation and API documentation for more information.
Using getVerify
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 getVerify(args: GetVerifyArgs, opts?: InvokeOptions): Promise<GetVerifyResult>
function getVerifyOutput(args: GetVerifyOutputArgs, opts?: InvokeOptions): Output<GetVerifyResult>def get_verify(digest: Optional[str] = None,
key_id: Optional[str] = None,
region: Optional[str] = None,
signature: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVerifyResult
def get_verify_output(digest: Optional[pulumi.Input[str]] = None,
key_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
signature: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVerifyResult]func GetVerify(ctx *Context, args *GetVerifyArgs, opts ...InvokeOption) (*GetVerifyResult, error)
func GetVerifyOutput(ctx *Context, args *GetVerifyOutputArgs, opts ...InvokeOption) GetVerifyResultOutput> Note: This function is named GetVerify in the Go SDK.
public static class GetVerify
{
public static Task<GetVerifyResult> InvokeAsync(GetVerifyArgs args, InvokeOptions? opts = null)
public static Output<GetVerifyResult> Invoke(GetVerifyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVerifyResult> getVerify(GetVerifyArgs args, InvokeOptions options)
public static Output<GetVerifyResult> getVerify(GetVerifyArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:keymanager/getVerify:getVerify
arguments:
# arguments dictionaryThe following arguments are supported:
- Digest string
- Digest of the original signed message. Must be generated using the same algorithm specified in the key’s configuration, and encoded as a base64 string.
- Key
Id string - ID of the key to use for signature verification. Can be a plain UUID or a regional ID.
- Signature string
- The message signature to verify, encoded as a base64 string.
- Region string
- The region of the key. If not set, the region is derived from the key_id when possible or from the provider
regionconfiguration.
- Digest string
- Digest of the original signed message. Must be generated using the same algorithm specified in the key’s configuration, and encoded as a base64 string.
- Key
Id string - ID of the key to use for signature verification. Can be a plain UUID or a regional ID.
- Signature string
- The message signature to verify, encoded as a base64 string.
- Region string
- The region of the key. If not set, the region is derived from the key_id when possible or from the provider
regionconfiguration.
- digest String
- Digest of the original signed message. Must be generated using the same algorithm specified in the key’s configuration, and encoded as a base64 string.
- key
Id String - ID of the key to use for signature verification. Can be a plain UUID or a regional ID.
- signature String
- The message signature to verify, encoded as a base64 string.
- region String
- The region of the key. If not set, the region is derived from the key_id when possible or from the provider
regionconfiguration.
- digest string
- Digest of the original signed message. Must be generated using the same algorithm specified in the key’s configuration, and encoded as a base64 string.
- key
Id string - ID of the key to use for signature verification. Can be a plain UUID or a regional ID.
- signature string
- The message signature to verify, encoded as a base64 string.
- region string
- The region of the key. If not set, the region is derived from the key_id when possible or from the provider
regionconfiguration.
- digest str
- Digest of the original signed message. Must be generated using the same algorithm specified in the key’s configuration, and encoded as a base64 string.
- key_
id str - ID of the key to use for signature verification. Can be a plain UUID or a regional ID.
- signature str
- The message signature to verify, encoded as a base64 string.
- region str
- The region of the key. If not set, the region is derived from the key_id when possible or from the provider
regionconfiguration.
- digest String
- Digest of the original signed message. Must be generated using the same algorithm specified in the key’s configuration, and encoded as a base64 string.
- key
Id String - ID of the key to use for signature verification. Can be a plain UUID or a regional ID.
- signature String
- The message signature to verify, encoded as a base64 string.
- region String
- The region of the key. If not set, the region is derived from the key_id when possible or from the provider
regionconfiguration.
getVerify Result
The following output properties are available:
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
