HashiCorp Vault v6.6.0 published on Thursday, Mar 13, 2025 by Pulumi
vault.transit.getVerify
Explore with Pulumi AI
This is a data source which can be used to verify a signature using a Vault Transit key.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.transit.TransitFunctions;
import com.pulumi.vault.transit.inputs.GetVerifyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = TransitFunctions.getVerify(GetVerifyArgs.builder()
.path("transit")
.key("test")
.signature("vault:v1:4kYRAVY/Q/6jjA3CT7HPhxKO+ru/4PhyGKBLRpn9DSeT99McPXEk302NXtzCzsvbSOZPif7f32tlr58iYoxjCQ==")
.input("aGVsbG8gd29ybGQ=")
.build());
}
}
variables:
test:
fn::invoke:
function: vault:transit:getVerify
arguments:
path: transit
key: test
signature: vault:v1:4kYRAVY/Q/6jjA3CT7HPhxKO+ru/4PhyGKBLRpn9DSeT99McPXEk302NXtzCzsvbSOZPif7f32tlr58iYoxjCQ==
input: aGVsbG8gd29ybGQ=
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(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
batch_results: Optional[Sequence[Mapping[str, str]]] = None,
cmac: Optional[str] = None,
context: Optional[str] = None,
hash_algorithm: Optional[str] = None,
hmac: Optional[str] = None,
input: Optional[str] = None,
marshaling_algorithm: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
path: Optional[str] = None,
prehashed: Optional[bool] = None,
reference: Optional[str] = None,
salt_length: Optional[str] = None,
signature: Optional[str] = None,
signature_algorithm: Optional[str] = None,
signature_context: Optional[str] = None,
valid: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetVerifyResult
def get_verify_output(batch_inputs: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None,
batch_results: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None,
cmac: Optional[pulumi.Input[str]] = None,
context: Optional[pulumi.Input[str]] = None,
hash_algorithm: Optional[pulumi.Input[str]] = None,
hmac: Optional[pulumi.Input[str]] = None,
input: Optional[pulumi.Input[str]] = None,
marshaling_algorithm: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
path: Optional[pulumi.Input[str]] = None,
prehashed: Optional[pulumi.Input[bool]] = None,
reference: Optional[pulumi.Input[str]] = None,
salt_length: Optional[pulumi.Input[str]] = None,
signature: Optional[pulumi.Input[str]] = None,
signature_algorithm: Optional[pulumi.Input[str]] = None,
signature_context: Optional[pulumi.Input[str]] = None,
valid: Optional[pulumi.Input[bool]] = 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: vault:transit/getVerify:getVerify
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Path string
- Batch
Inputs List<ImmutableDictionary<string, string>> - Batch
Results List<ImmutableDictionary<string, string>> - The results returned from Vault if using
batch_input
- Cmac string
- Context string
- Hash
Algorithm string - Hmac string
- Input string
- Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length string - Signature string
- Signature
Algorithm string - Signature
Context string - Valid bool
- Returns
true
if the signature verification succeeded andfalse
otherwise
- Name string
- Path string
- Batch
Inputs []map[string]string - Batch
Results []map[string]string - The results returned from Vault if using
batch_input
- Cmac string
- Context string
- Hash
Algorithm string - Hmac string
- Input string
- Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length string - Signature string
- Signature
Algorithm string - Signature
Context string - Valid bool
- Returns
true
if the signature verification succeeded andfalse
otherwise
- name String
- path String
- batch
Inputs List<Map<String,String>> - batch
Results List<Map<String,String>> - The results returned from Vault if using
batch_input
- cmac String
- context String
- hash
Algorithm String - hmac String
- input String
- marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length String - signature String
- signature
Algorithm String - signature
Context String - valid Boolean
- Returns
true
if the signature verification succeeded andfalse
otherwise
- name string
- path string
- batch
Inputs {[key: string]: string}[] - batch
Results {[key: string]: string}[] - The results returned from Vault if using
batch_input
- cmac string
- context string
- hash
Algorithm string - hmac string
- input string
- marshaling
Algorithm string - namespace string
- prehashed boolean
- reference string
- salt
Length string - signature string
- signature
Algorithm string - signature
Context string - valid boolean
- Returns
true
if the signature verification succeeded andfalse
otherwise
- name str
- path str
- batch_
inputs Sequence[Mapping[str, str]] - batch_
results Sequence[Mapping[str, str]] - The results returned from Vault if using
batch_input
- cmac str
- context str
- hash_
algorithm str - hmac str
- input str
- marshaling_
algorithm str - namespace str
- prehashed bool
- reference str
- salt_
length str - signature str
- signature_
algorithm str - signature_
context str - valid bool
- Returns
true
if the signature verification succeeded andfalse
otherwise
- name String
- path String
- batch
Inputs List<Map<String>> - batch
Results List<Map<String>> - The results returned from Vault if using
batch_input
- cmac String
- context String
- hash
Algorithm String - hmac String
- input String
- marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length String - signature String
- signature
Algorithm String - signature
Context String - valid Boolean
- Returns
true
if the signature verification succeeded andfalse
otherwise
getVerify Result
The following output properties are available:
- Batch
Results List<ImmutableDictionary<string, string>> - The results returned from Vault if using
batch_input
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Path string
- Valid bool
- Returns
true
if the signature verification succeeded andfalse
otherwise - Batch
Inputs List<ImmutableDictionary<string, string>> - Cmac string
- Context string
- Hash
Algorithm string - Hmac string
- Input string
- Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length string - Signature string
- Signature
Algorithm string - Signature
Context string
- Batch
Results []map[string]string - The results returned from Vault if using
batch_input
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Path string
- Valid bool
- Returns
true
if the signature verification succeeded andfalse
otherwise - Batch
Inputs []map[string]string - Cmac string
- Context string
- Hash
Algorithm string - Hmac string
- Input string
- Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length string - Signature string
- Signature
Algorithm string - Signature
Context string
- batch
Results List<Map<String,String>> - The results returned from Vault if using
batch_input
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- path String
- valid Boolean
- Returns
true
if the signature verification succeeded andfalse
otherwise - batch
Inputs List<Map<String,String>> - cmac String
- context String
- hash
Algorithm String - hmac String
- input String
- marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length String - signature String
- signature
Algorithm String - signature
Context String
- batch
Results {[key: string]: string}[] - The results returned from Vault if using
batch_input
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- path string
- valid boolean
- Returns
true
if the signature verification succeeded andfalse
otherwise - batch
Inputs {[key: string]: string}[] - cmac string
- context string
- hash
Algorithm string - hmac string
- input string
- marshaling
Algorithm string - namespace string
- prehashed boolean
- reference string
- salt
Length string - signature string
- signature
Algorithm string - signature
Context string
- batch_
results Sequence[Mapping[str, str]] - The results returned from Vault if using
batch_input
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- path str
- valid bool
- Returns
true
if the signature verification succeeded andfalse
otherwise - batch_
inputs Sequence[Mapping[str, str]] - cmac str
- context str
- hash_
algorithm str - hmac str
- input str
- marshaling_
algorithm str - namespace str
- prehashed bool
- reference str
- salt_
length str - signature str
- signature_
algorithm str - signature_
context str
- batch
Results List<Map<String>> - The results returned from Vault if using
batch_input
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- path String
- valid Boolean
- Returns
true
if the signature verification succeeded andfalse
otherwise - batch
Inputs List<Map<String>> - cmac String
- context String
- hash
Algorithm String - hmac String
- input String
- marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length String - signature String
- signature
Algorithm String - signature
Context String
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vault
Terraform Provider.