Interface AddPublicKeyRequestOrBuilder (2.1.11)

public interface AddPublicKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnvironment()

public abstract String getEnvironment()

Environment this key should be added to, e.g. users/me/environments/default.

string environment = 1;

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public abstract ByteString getEnvironmentBytes()

Environment this key should be added to, e.g. users/me/environments/default.

string environment = 1;

Returns
TypeDescription
ByteString

The bytes for environment.

getKey()

public abstract String getKey()

Key that should be added to the environment. Supported formats are ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256 (see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and ecdsa-sha2-nistp521 (see RFC5656). It should be structured as <format> <content>, where <content> part is encoded with Base64.

string key = 2;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Key that should be added to the environment. Supported formats are ssh-dss (see RFC4253), ssh-rsa (see RFC4253), ecdsa-sha2-nistp256 (see RFC5656), ecdsa-sha2-nistp384 (see RFC5656) and ecdsa-sha2-nistp521 (see RFC5656). It should be structured as <format> <content>, where <content> part is encoded with Base64.

string key = 2;

Returns
TypeDescription
ByteString

The bytes for key.