Package casa.siron.forgejo.forgejo
Class PublicKey
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- casa.siron.forgejo.forgejo.PublicKey
-
public class PublicKey extends com.pulumi.resources.CustomResourceA Forgejo SSH public key for the authenticated user.
-
-
Constructor Summary
Constructors Constructor Description PublicKey(java.lang.String name)PublicKey(java.lang.String name, PublicKeyArgs args)PublicKey(java.lang.String name, PublicKeyArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>fingerprint()static PublicKeyget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>key()com.pulumi.core.Output<java.lang.Integer>keyId()com.pulumi.core.Output<java.lang.String>keyType()com.pulumi.core.Output<java.lang.String>owner()com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>readOnly()com.pulumi.core.Output<java.lang.String>title()com.pulumi.core.Output<java.lang.String>url()
-
-
-
Constructor Detail
-
PublicKey
public PublicKey(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
PublicKey
public PublicKey(java.lang.String name, PublicKeyArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
PublicKey
public PublicKey(java.lang.String name, PublicKeyArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
fingerprint
public com.pulumi.core.Output<java.lang.String> fingerprint()
-
key
public com.pulumi.core.Output<java.lang.String> key()
- Returns:
- OpenSSH public key material.
-
keyId
public com.pulumi.core.Output<java.lang.Integer> keyId()
-
keyType
public com.pulumi.core.Output<java.lang.String> keyType()
-
owner
public com.pulumi.core.Output<java.lang.String> owner()
-
readOnly
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> readOnly()
- Returns:
- Whether the key has read-only access.
-
title
public com.pulumi.core.Output<java.lang.String> title()
- Returns:
- Public key title.
-
url
public com.pulumi.core.Output<java.lang.String> url()
-
get
public static PublicKey get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.options- Optional settings to control the behavior of the CustomResource.
-
-