HashiCorp Vault v6.6.0 published on Thursday, Mar 13, 2025 by Pulumi
vault.transit.getSign
Explore with Pulumi AI
This is a data source which can be used to generate 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.GetSignArgs;
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.getSign(GetSignArgs.builder()
.path("transit")
.key("test")
.input("aGVsbG8gd29ybGQ=")
.build());
}
}
variables:
test:
fn::invoke:
function: vault:transit:getSign
arguments:
path: transit
key: test
input: aGVsbG8gd29ybGQ=
Using getSign
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 getSign(args: GetSignArgs, opts?: InvokeOptions): Promise<GetSignResult>
function getSignOutput(args: GetSignOutputArgs, opts?: InvokeOptions): Output<GetSignResult>
def get_sign(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
batch_results: Optional[Sequence[Mapping[str, str]]] = None,
context: Optional[str] = None,
hash_algorithm: Optional[str] = None,
input: Optional[str] = None,
key_version: Optional[int] = 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,
opts: Optional[InvokeOptions] = None) -> GetSignResult
def get_sign_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,
context: Optional[pulumi.Input[str]] = None,
hash_algorithm: Optional[pulumi.Input[str]] = None,
input: Optional[pulumi.Input[str]] = None,
key_version: Optional[pulumi.Input[int]] = 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,
opts: Optional[InvokeOptions] = None) -> Output[GetSignResult]
func GetSign(ctx *Context, args *GetSignArgs, opts ...InvokeOption) (*GetSignResult, error)
func GetSignOutput(ctx *Context, args *GetSignOutputArgs, opts ...InvokeOption) GetSignResultOutput
> Note: This function is named GetSign
in the Go SDK.
public static class GetSign
{
public static Task<GetSignResult> InvokeAsync(GetSignArgs args, InvokeOptions? opts = null)
public static Output<GetSignResult> Invoke(GetSignInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSignResult> getSign(GetSignArgs args, InvokeOptions options)
public static Output<GetSignResult> getSign(GetSignArgs args, InvokeOptions options)
fn::invoke:
function: vault:transit/getSign:getSign
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
- Context string
- Hash
Algorithm string - Input string
- Key
Version int - Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length string - Signature string
- The signature returned from Vault if using
input
- Signature
Algorithm string - Signature
Context string
- Name string
- Path string
- Batch
Inputs []map[string]string - Batch
Results []map[string]string - The results returned from Vault if using
batch_input
- Context string
- Hash
Algorithm string - Input string
- Key
Version int - Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length string - Signature string
- The signature returned from Vault if using
input
- Signature
Algorithm string - Signature
Context string
- 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
- context String
- hash
Algorithm String - input String
- key
Version Integer - marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length String - signature String
- The signature returned from Vault if using
input
- signature
Algorithm String - signature
Context String
- name string
- path string
- batch
Inputs {[key: string]: string}[] - batch
Results {[key: string]: string}[] - The results returned from Vault if using
batch_input
- context string
- hash
Algorithm string - input string
- key
Version number - marshaling
Algorithm string - namespace string
- prehashed boolean
- reference string
- salt
Length string - signature string
- The signature returned from Vault if using
input
- signature
Algorithm string - signature
Context string
- 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
- context str
- hash_
algorithm str - input str
- key_
version int - marshaling_
algorithm str - namespace str
- prehashed bool
- reference str
- salt_
length str - signature str
- The signature returned from Vault if using
input
- signature_
algorithm str - signature_
context str
- name String
- path String
- batch
Inputs List<Map<String>> - batch
Results List<Map<String>> - The results returned from Vault if using
batch_input
- context String
- hash
Algorithm String - input String
- key
Version Number - marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length String - signature String
- The signature returned from Vault if using
input
- signature
Algorithm String - signature
Context String
getSign 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
- Signature string
- The signature returned from Vault if using
input
- Batch
Inputs List<ImmutableDictionary<string, string>> - Context string
- Hash
Algorithm string - Input string
- Key
Version int - Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length 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
- Signature string
- The signature returned from Vault if using
input
- Batch
Inputs []map[string]string - Context string
- Hash
Algorithm string - Input string
- Key
Version int - Marshaling
Algorithm string - Namespace string
- Prehashed bool
- Reference string
- Salt
Length 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
- signature String
- The signature returned from Vault if using
input
- batch
Inputs List<Map<String,String>> - context String
- hash
Algorithm String - input String
- key
Version Integer - marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length 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
- signature string
- The signature returned from Vault if using
input
- batch
Inputs {[key: string]: string}[] - context string
- hash
Algorithm string - input string
- key
Version number - marshaling
Algorithm string - namespace string
- prehashed boolean
- reference string
- salt
Length 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
- signature str
- The signature returned from Vault if using
input
- batch_
inputs Sequence[Mapping[str, str]] - context str
- hash_
algorithm str - input str
- key_
version int - marshaling_
algorithm str - namespace str
- prehashed bool
- reference str
- salt_
length 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
- signature String
- The signature returned from Vault if using
input
- batch
Inputs List<Map<String>> - context String
- hash
Algorithm String - input String
- key
Version Number - marshaling
Algorithm String - namespace String
- prehashed Boolean
- reference String
- salt
Length 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.