Struct: kms.IncorrectTrustAnchorException

import "../ibm-cos-sdk-go/service/kms"

Overview

The request was rejected because the trust anchor certificate in the request to create an CloudHSM key store is not the trust anchor certificate for the specified CloudHSM cluster.

When you initialize the CloudHSM cluster (docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr), you create the trust anchor certificate and save it in the customerCA.crt file.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Message_ *string `locationName:"message" type:"string"`

RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

_ struct{} `type:"structure"`

Method Details

func (s *IncorrectTrustAnchorException) Code() string

Code returns the exception type name.



13394
13395
13396
// File 'service/kms/api.go', line 13394

func (s *IncorrectTrustAnchorException) Error() string



13411
13412
13413
// File 'service/kms/api.go', line 13411

func (s *IncorrectTrustAnchorException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) }

func (s IncorrectTrustAnchorException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



13383
13384
13385
// File 'service/kms/api.go', line 13383

func (s IncorrectTrustAnchorException) GoString() string { return s.String() }

func (s *IncorrectTrustAnchorException) Message() string

Message returns the exception's message.



13399
13400
13401
13402
13403
13404
// File 'service/kms/api.go', line 13399

func (s *IncorrectTrustAnchorException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" }

func (s *IncorrectTrustAnchorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



13407
13408
13409
// File 'service/kms/api.go', line 13407

func (s *IncorrectTrustAnchorException) OrigErr() error { return nil }

func (s *IncorrectTrustAnchorException) RequestID() string

RequestID returns the service's response RequestID for request.



13421
13422
13423
// File 'service/kms/api.go', line 13421

func (s *IncorrectTrustAnchorException) RequestID() string { return s.RespMetadata.RequestID }

func (s *IncorrectTrustAnchorException) StatusCode() int

Status code returns the HTTP status code for the request's response error.



13416
13417
13418
// File 'service/kms/api.go', line 13416

func (s *IncorrectTrustAnchorException) StatusCode() int { return s.RespMetadata.StatusCode }

func (s IncorrectTrustAnchorException) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



13374
13375
13376
// File 'service/kms/api.go', line 13374

func (s IncorrectTrustAnchorException) String() string { return awsutil.Prettify(s) }