1. Packages
  2. Google Cloud Native
  3. API Docs
  4. oslogin
  5. oslogin/v1alpha
  6. SshPublicKey

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.oslogin/v1alpha.SshPublicKey

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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

    Create 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
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi