AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateKeyPairOutput

import "github.com/aws/aws-sdk-go/service/ec2"

type CreateKeyPairOutput struct { KeyFingerprint *string `locationName:"keyFingerprint" type:"string"` KeyMaterial *string `locationName:"keyMaterial" type:"string"` KeyName *string `locationName:"keyName" type:"string"` }

Describes a key pair.

KeyFingerprint

Type: *string

The SHA-1 digest of the DER encoded private key.

KeyMaterial

Type: *string

An unencrypted PEM encoded RSA private key.

KeyName

Type: *string

The name of the key pair.

Method

GoString

func (s CreateKeyPairOutput) GoString() string

GoString returns the string representation

SetKeyFingerprint

func (s *CreateKeyPairOutput) SetKeyFingerprint(v string) *CreateKeyPairOutput

SetKeyFingerprint sets the KeyFingerprint field's value.

SetKeyMaterial

func (s *CreateKeyPairOutput) SetKeyMaterial(v string) *CreateKeyPairOutput

SetKeyMaterial sets the KeyMaterial field's value.

SetKeyName

func (s *CreateKeyPairOutput) SetKeyName(v string) *CreateKeyPairOutput

SetKeyName sets the KeyName field's value.

String

func (s CreateKeyPairOutput) String() string

String returns the string representation

On this page: