Viewing docs for StandardLibrary v2.3.2
published on Tuesday, Feb 10, 2026 by Pulumi
published on Tuesday, Feb 10, 2026 by Pulumi
Viewing docs for StandardLibrary v2.3.2
published on Tuesday, Feb 10, 2026 by Pulumi
published on Tuesday, Feb 10, 2026 by Pulumi
Returns a hexadecimal representation of the SHA-1 hash of the given string.
Using sha1
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 sha1(args: Sha1Args, opts?: InvokeOptions): Promise<Sha1Result>
function sha1Output(args: Sha1OutputArgs, opts?: InvokeOptions): Output<Sha1Result>def sha1(input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> Sha1Result
def sha1_output(input: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[Sha1Result]func Sha1(ctx *Context, args *Sha1Args, opts ...InvokeOption) (*Sha1Result, error)
func Sha1Output(ctx *Context, args *Sha1OutputArgs, opts ...InvokeOption) Sha1ResultOutput> Note: This function is named Sha1 in the Go SDK.
public static class Sha1
{
public static Task<Sha1Result> InvokeAsync(Sha1Args args, InvokeOptions? opts = null)
public static Output<Sha1Result> Invoke(Sha1InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<Sha1Result> sha1(Sha1Args args, InvokeOptions options)
public static Output<Sha1Result> sha1(Sha1Args args, InvokeOptions options)
fn::invoke:
function: std:sha1
arguments:
# arguments dictionaryThe following arguments are supported:
- Input string
- Input string
- input String
- input string
- input str
- input String
sha1 Result
The following output properties are available:
- Result string
- Result string
- result String
- result string
- result str
- result String
Package Details
- Repository
- std pulumi/pulumi-std
- License
Viewing docs for StandardLibrary v2.3.2
published on Tuesday, Feb 10, 2026 by Pulumi
published on Tuesday, Feb 10, 2026 by Pulumi
