1. Packages
  2. Akeyless Provider
  3. API Docs
  4. getRsaPub
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.getRsaPub

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    Obtain the public key from a specific RSA private key data source

    Using getRsaPub

    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 getRsaPub(args: GetRsaPubArgs, opts?: InvokeOptions): Promise<GetRsaPubResult>
    function getRsaPubOutput(args: GetRsaPubOutputArgs, opts?: InvokeOptions): Output<GetRsaPubResult>
    def get_rsa_pub(id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetRsaPubResult
    def get_rsa_pub_output(id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetRsaPubResult]
    func GetRsaPub(ctx *Context, args *GetRsaPubArgs, opts ...InvokeOption) (*GetRsaPubResult, error)
    func GetRsaPubOutput(ctx *Context, args *GetRsaPubOutputArgs, opts ...InvokeOption) GetRsaPubResultOutput

    > Note: This function is named GetRsaPub in the Go SDK.

    public static class GetRsaPub 
    {
        public static Task<GetRsaPubResult> InvokeAsync(GetRsaPubArgs args, InvokeOptions? opts = null)
        public static Output<GetRsaPubResult> Invoke(GetRsaPubInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRsaPubResult> getRsaPub(GetRsaPubArgs args, InvokeOptions options)
    public static Output<GetRsaPubResult> getRsaPub(GetRsaPubArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akeyless:index/getRsaPub:getRsaPub
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of RSA key to extract the public key from
    Id string
    The ID of this resource.
    Name string
    Name of RSA key to extract the public key from
    Id string
    The ID of this resource.
    name String
    Name of RSA key to extract the public key from
    id String
    The ID of this resource.
    name string
    Name of RSA key to extract the public key from
    id string
    The ID of this resource.
    name str
    Name of RSA key to extract the public key from
    id str
    The ID of this resource.
    name String
    Name of RSA key to extract the public key from
    id String
    The ID of this resource.

    getRsaPub Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Name string
    Name of RSA key to extract the public key from
    Raw string
    Ssh string
    Id string
    The ID of this resource.
    Name string
    Name of RSA key to extract the public key from
    Raw string
    Ssh string
    id String
    The ID of this resource.
    name String
    Name of RSA key to extract the public key from
    raw String
    ssh String
    id string
    The ID of this resource.
    name string
    Name of RSA key to extract the public key from
    raw string
    ssh string
    id str
    The ID of this resource.
    name str
    Name of RSA key to extract the public key from
    raw str
    ssh str
    id String
    The ID of this resource.
    name String
    Name of RSA key to extract the public key from
    raw String
    ssh String

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community