检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
/auth/basic" kms "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/region" ) func main() { // The AK and SK used for
The server has received an invalid response. 504 Gateway timed out. Error Codes See Error Codes. Parent Topic: DEK Management
The server has received an invalid response. 504 Gateway timed out. Error Codes See Error Codes. Parent Topic: Multi-Region Key
basic" kms "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/region" ) func main() { // The AK and SK used for authentication
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
%s' % ('kms', endpoint) return kms_endpoint except: raise Exception("invalid region: %s" % region) def check_csms_resp(resp): if resp.status_code in (200, 201, 204): return caller_function_name = inspect.stack()[1].function json_resp = json.loads
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := kms.NewKmsClient( kms.KmsClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/region" ) func main() { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
The default value is false. rotation_period No String Rotation period Constraints: 6 hours - 8,760 hours (365 days) Type: Integer[unit]. Integer indicates the time length. unit indicates the time unit, which can be d (day), h (hour), m (minute), or s (second).
The server receives an invalid response from the upstream server. 504 Gateway timed out. Error Codes See Error Codes. Parent Topic: Querying Keys
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := kms.NewKmsClient( kms.KmsClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
/core/auth/basic" kms "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/region" ) func main() { // The AK and SK used
/services/kms/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/region" ) func main() { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
The value is 1 for Default Master Keys and 0 for non-default master keys. key_type String Key type. expiration_time String Time when the key material expires. The timestamp indicates the total seconds past the start of the epoch date (January 1, 1970). origin String Key source.
/huaweicloud-sdk-go-v3/services/kms/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/kms/v2/region" ) func main() { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
Status Codes Status Code Description 200 Authorization list. 400 Invalid request parameter. 401 Username and password are required for the requested page. 403 Authentication failed. 404 Resource not found. 500 Internal server error. 502 Failed to complete the request.
Status Codes Status Code Description 200 A specified API version is queried. 500 Internal service error. 502 Failed to complete the request. The server receives an invalid response from the upstream server. 504 Gateway timed out. Error Codes See Error Codes.
The value is 1 for Default Master Keys and 0 for non-default master keys. key_type String Key type. expiration_time String Time when the key material expires. The timestamp indicates the total seconds past the start of the epoch date (January 1, 1970). origin String Key source.
Possible values are as follows: CMK: custom master key (CMK) grant_per_CMK: number of grants can be created by a single CMK used Integer Used quotas. quota Integer Total quotas.
The value is 1 for Default Master Keys and 0 for non-default master keys. key_type String Key type. expiration_time String Time when the key material expires. The timestamp indicates the total seconds past the start of the epoch date (January 1, 1970). origin String Key source.