Decrypts an RSA-encrypted ciphertext. The cipher text must be base64-encoded and the key must be in PEM format.
Using rsadecrypt
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 rsadecrypt(args: RsadecryptArgs, opts?: InvokeOptions): Promise<RsadecryptResult>
function rsadecryptOutput(args: RsadecryptOutputArgs, opts?: InvokeOptions): Output<RsadecryptResult>def rsadecrypt(cipher_text: Optional[str] = None,
key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> RsadecryptResult
def rsadecrypt_output(cipher_text: Optional[pulumi.Input[str]] = None,
key: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[RsadecryptResult]func Rsadecrypt(ctx *Context, args *RsadecryptArgs, opts ...InvokeOption) (*RsadecryptResult, error)
func RsadecryptOutput(ctx *Context, args *RsadecryptOutputArgs, opts ...InvokeOption) RsadecryptResultOutput> Note: This function is named Rsadecrypt in the Go SDK.
public static class Rsadecrypt
{
public static Task<RsadecryptResult> InvokeAsync(RsadecryptArgs args, InvokeOptions? opts = null)
public static Output<RsadecryptResult> Invoke(RsadecryptInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<RsadecryptResult> rsadecrypt(RsadecryptArgs args, InvokeOptions options)
public static Output<RsadecryptResult> rsadecrypt(RsadecryptArgs args, InvokeOptions options)
fn::invoke:
function: std:rsadecrypt
arguments:
# arguments dictionaryThe following arguments are supported:
- Cipher
Text string - Key string
- Cipher
Text string - Key string
- cipher
Text String - key String
- cipher
Text string - key string
- cipher_
text str - key str
- cipher
Text String - key String
rsadecrypt 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
