Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Snowflake

v0.2.1 published on Monday, Sep 27, 2021 by Pulumi

UserPublicKeys

Create a UserPublicKeys Resource

new UserPublicKeys(name: string, args?: UserPublicKeysArgs, opts?: CustomResourceOptions);
@overload
def UserPublicKeys(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   name: Optional[str] = None,
                   rsa_public_key: Optional[str] = None,
                   rsa_public_key2: Optional[str] = None)
@overload
def UserPublicKeys(resource_name: str,
                   args: Optional[UserPublicKeysArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewUserPublicKeys(ctx *Context, name string, args *UserPublicKeysArgs, opts ...ResourceOption) (*UserPublicKeys, error)
public UserPublicKeys(string name, UserPublicKeysArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args UserPublicKeysArgs
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 UserPublicKeysArgs
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 UserPublicKeysArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args UserPublicKeysArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

UserPublicKeys Resource Properties

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

Inputs

The UserPublicKeys resource accepts the following input properties:

Name string
Name of the user.
RsaPublicKey string
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
RsaPublicKey2 string
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.
Name string
Name of the user.
RsaPublicKey string
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
RsaPublicKey2 string
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.
name string
Name of the user.
rsaPublicKey string
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
rsaPublicKey2 string
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.
name str
Name of the user.
rsa_public_key str
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
rsa_public_key2 str
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing UserPublicKeys Resource

Get an existing UserPublicKeys 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?: UserPublicKeysState, opts?: CustomResourceOptions): UserPublicKeys
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        rsa_public_key: Optional[str] = None,
        rsa_public_key2: Optional[str] = None) -> UserPublicKeys
func GetUserPublicKeys(ctx *Context, name string, id IDInput, state *UserPublicKeysState, opts ...ResourceOption) (*UserPublicKeys, error)
public static UserPublicKeys Get(string name, Input<string> id, UserPublicKeysState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Name string
Name of the user.
RsaPublicKey string
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
RsaPublicKey2 string
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.
Name string
Name of the user.
RsaPublicKey string
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
RsaPublicKey2 string
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.
name string
Name of the user.
rsaPublicKey string
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
rsaPublicKey2 string
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.
name str
Name of the user.
rsa_public_key str
Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
rsa_public_key2 str
Specifies the user’s second RSA public key; used to rotate the public and Public keys for key-pair authentication based on an expiration schedule set by your organization. Must be on 1 line without header and trailer.

Package Details

Repository
https://github.com/pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.