1. Packages
  2. StrongDM
  3. API Docs
  4. ManagedSecretValue
StrongDM v1.29.0 published on Friday, Jul 4, 2025 by Piers Karsenbarg

sdm.ManagedSecretValue

Explore with Pulumi AI

sdm logo
StrongDM v1.29.0 published on Friday, Jul 4, 2025 by Piers Karsenbarg

    Create ManagedSecretValue Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ManagedSecretValue(name: string, args: ManagedSecretValueArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedSecretValue(resource_name: str,
                           args: ManagedSecretValueArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedSecretValue(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           public_key: Optional[str] = None,
                           value: Optional[Mapping[str, str]] = None)
    func NewManagedSecretValue(ctx *Context, name string, args ManagedSecretValueArgs, opts ...ResourceOption) (*ManagedSecretValue, error)
    public ManagedSecretValue(string name, ManagedSecretValueArgs args, CustomResourceOptions? opts = null)
    public ManagedSecretValue(String name, ManagedSecretValueArgs args)
    public ManagedSecretValue(String name, ManagedSecretValueArgs args, CustomResourceOptions options)
    
    type: sdm:ManagedSecretValue
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ManagedSecretValueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ManagedSecretValueArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ManagedSecretValueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedSecretValueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedSecretValueArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var managedSecretValueResource = new Sdm.ManagedSecretValue("managedSecretValueResource", new()
    {
        PublicKey = "string",
        Value = 
        {
            { "string", "string" },
        },
    });
    
    example, err := sdm.NewManagedSecretValue(ctx, "managedSecretValueResource", &sdm.ManagedSecretValueArgs{
    	PublicKey: pulumi.String("string"),
    	Value: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var managedSecretValueResource = new ManagedSecretValue("managedSecretValueResource", ManagedSecretValueArgs.builder()
        .publicKey("string")
        .value(Map.of("string", "string"))
        .build());
    
    managed_secret_value_resource = sdm.ManagedSecretValue("managedSecretValueResource",
        public_key="string",
        value={
            "string": "string",
        })
    
    const managedSecretValueResource = new sdm.ManagedSecretValue("managedSecretValueResource", {
        publicKey: "string",
        value: {
            string: "string",
        },
    });
    
    type: sdm:ManagedSecretValue
    properties:
        publicKey: string
        value:
            string: string
    

    ManagedSecretValue Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ManagedSecretValue resource accepts the following input properties:

    PublicKey string
    secret engine's public key used for encryption in PEM format
    Value Dictionary<string, string>
    value object
    PublicKey string
    secret engine's public key used for encryption in PEM format
    Value map[string]string
    value object
    publicKey String
    secret engine's public key used for encryption in PEM format
    value Map<String,String>
    value object
    publicKey string
    secret engine's public key used for encryption in PEM format
    value {[key: string]: string}
    value object
    public_key str
    secret engine's public key used for encryption in PEM format
    value Mapping[str, str]
    value object
    publicKey String
    secret engine's public key used for encryption in PEM format
    value Map<String>
    value object

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagedSecretValue resource produces the following output properties:

    Encrypted string
    encrypted value
    Id string
    The provider-assigned unique ID for this managed resource.
    Encrypted string
    encrypted value
    Id string
    The provider-assigned unique ID for this managed resource.
    encrypted String
    encrypted value
    id String
    The provider-assigned unique ID for this managed resource.
    encrypted string
    encrypted value
    id string
    The provider-assigned unique ID for this managed resource.
    encrypted str
    encrypted value
    id str
    The provider-assigned unique ID for this managed resource.
    encrypted String
    encrypted value
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ManagedSecretValue Resource

    Get an existing ManagedSecretValue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ManagedSecretValueState, opts?: CustomResourceOptions): ManagedSecretValue
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            encrypted: Optional[str] = None,
            public_key: Optional[str] = None,
            value: Optional[Mapping[str, str]] = None) -> ManagedSecretValue
    func GetManagedSecretValue(ctx *Context, name string, id IDInput, state *ManagedSecretValueState, opts ...ResourceOption) (*ManagedSecretValue, error)
    public static ManagedSecretValue Get(string name, Input<string> id, ManagedSecretValueState? state, CustomResourceOptions? opts = null)
    public static ManagedSecretValue get(String name, Output<String> id, ManagedSecretValueState state, CustomResourceOptions options)
    resources:  _:    type: sdm:ManagedSecretValue    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Encrypted string
    encrypted value
    PublicKey string
    secret engine's public key used for encryption in PEM format
    Value Dictionary<string, string>
    value object
    Encrypted string
    encrypted value
    PublicKey string
    secret engine's public key used for encryption in PEM format
    Value map[string]string
    value object
    encrypted String
    encrypted value
    publicKey String
    secret engine's public key used for encryption in PEM format
    value Map<String,String>
    value object
    encrypted string
    encrypted value
    publicKey string
    secret engine's public key used for encryption in PEM format
    value {[key: string]: string}
    value object
    encrypted str
    encrypted value
    public_key str
    secret engine's public key used for encryption in PEM format
    value Mapping[str, str]
    value object
    encrypted String
    encrypted value
    publicKey String
    secret engine's public key used for encryption in PEM format
    value Map<String>
    value object

    Package Details

    Repository
    sdm pierskarsenbarg/pulumi-sdm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdm Terraform Provider.
    sdm logo
    StrongDM v1.29.0 published on Friday, Jul 4, 2025 by Piers Karsenbarg