sdm.ManagedSecretValue
Explore with Pulumi AI
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:
- public_
key str - secret engine's public key used for encryption in PEM format
- value Mapping[str, str]
- value object
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedSecretValue resource produces the following output properties:
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.
- encrypted str
- encrypted value
- public_
key str - secret engine's public key used for encryption in PEM format
- value Mapping[str, str]
- value object
Package Details
- Repository
- sdm pierskarsenbarg/pulumi-sdm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdm
Terraform Provider.