Google Native

v0.26.0 published on Friday, Sep 16, 2022 by Pulumi

SshPublicKey

Create an SSH public key Auto-naming is currently not supported for this resource.

Create a SshPublicKey Resource

new SshPublicKey(name: string, args: SshPublicKeyArgs, opts?: CustomResourceOptions);
@overload
def SshPublicKey(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 expiration_time_usec: Optional[str] = None,
                 key: Optional[str] = None,
                 user_id: Optional[str] = None)
@overload
def SshPublicKey(resource_name: str,
                 args: SshPublicKeyArgs,
                 opts: Optional[ResourceOptions] = None)
func NewSshPublicKey(ctx *Context, name string, args SshPublicKeyArgs, opts ...ResourceOption) (*SshPublicKey, error)
public SshPublicKey(string name, SshPublicKeyArgs args, CustomResourceOptions? opts = null)
public SshPublicKey(String name, SshPublicKeyArgs args)
public SshPublicKey(String name, SshPublicKeyArgs args, CustomResourceOptions options)
type: google-native:oslogin/v1alpha:SshPublicKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SshPublicKeyArgs
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 SshPublicKeyArgs
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 SshPublicKeyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SshPublicKeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SshPublicKeyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SshPublicKey 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 SshPublicKey resource accepts the following input properties:

UserId string
ExpirationTimeUsec string

An expiration time in microseconds since epoch.

Key string

Public key text in SSH format, defined by RFC4253 section 6.6.

UserId string
ExpirationTimeUsec string

An expiration time in microseconds since epoch.

Key string

Public key text in SSH format, defined by RFC4253 section 6.6.

userId String
expirationTimeUsec String

An expiration time in microseconds since epoch.

key String

Public key text in SSH format, defined by RFC4253 section 6.6.

userId string
expirationTimeUsec string

An expiration time in microseconds since epoch.

key string

Public key text in SSH format, defined by RFC4253 section 6.6.

user_id str
expiration_time_usec str

An expiration time in microseconds since epoch.

key str

Public key text in SSH format, defined by RFC4253 section 6.6.

userId String
expirationTimeUsec String

An expiration time in microseconds since epoch.

key String

Public key text in SSH format, defined by RFC4253 section 6.6.

Outputs

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

Fingerprint string

The SHA-256 fingerprint of the SSH public key.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The canonical resource name.

Fingerprint string

The SHA-256 fingerprint of the SSH public key.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The canonical resource name.

fingerprint String

The SHA-256 fingerprint of the SSH public key.

id String

The provider-assigned unique ID for this managed resource.

name String

The canonical resource name.

fingerprint string

The SHA-256 fingerprint of the SSH public key.

id string

The provider-assigned unique ID for this managed resource.

name string

The canonical resource name.

fingerprint str

The SHA-256 fingerprint of the SSH public key.

id str

The provider-assigned unique ID for this managed resource.

name str

The canonical resource name.

fingerprint String

The SHA-256 fingerprint of the SSH public key.

id String

The provider-assigned unique ID for this managed resource.

name String

The canonical resource name.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0