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-256 hash of the given string.
Using sha256
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 sha256(args: Sha256Args, opts?: InvokeOptions): Promise<Sha256Result>
function sha256Output(args: Sha256OutputArgs, opts?: InvokeOptions): Output<Sha256Result>def sha256(input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> Sha256Result
def sha256_output(input: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[Sha256Result]func Sha256(ctx *Context, args *Sha256Args, opts ...InvokeOption) (*Sha256Result, error)
func Sha256Output(ctx *Context, args *Sha256OutputArgs, opts ...InvokeOption) Sha256ResultOutput> Note: This function is named Sha256 in the Go SDK.
public static class Sha256
{
public static Task<Sha256Result> InvokeAsync(Sha256Args args, InvokeOptions? opts = null)
public static Output<Sha256Result> Invoke(Sha256InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<Sha256Result> sha256(Sha256Args args, InvokeOptions options)
public static Output<Sha256Result> sha256(Sha256Args args, InvokeOptions options)
fn::invoke:
function: std:sha256
arguments:
# arguments dictionaryThe following arguments are supported:
- Input string
- Input string
- input String
- input string
- input str
- input String
sha256 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
