models

package
v1.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssumeRoleInfo

type AssumeRoleInfo struct {

	/* 角色资源标识(jrn)  */
	RoleJrn string `json:"roleJrn"`

	/* 角色会话名称  */
	RoleSessionName string `json:"roleSessionName"`

	/* 会话策略,策略描述需遵循 IAM 策略语法,但不可包含 Principal元素,长度限制 2048 字节。会话策略限制临时凭证的权限;如不指定,则临时凭证默认拥有附加到角色的所有权限。 (Optional) */
	Policy *string `json:"policy"`

	/* 临时凭证有效期,单位秒,取值范围:3600~您所扮演的角色设置的maxSessionDuration,默认3600 (Optional) */
	DurationSeconds *int `json:"durationSeconds"`
}

type AssumeRoleWithSAMLInfo added in v1.17.0

type AssumeRoleWithSAMLInfo struct {

	/* 角色资源标识(jrn)  */
	RoleJrn string `json:"roleJrn"`

	/* 身份提供商资源标识(jrn)  */
	SamlProviderJrn string `json:"samlProviderJrn"`

	/* 会话策略,压缩后不超过1024字节 (Optional) */
	Policy string `json:"policy"`

	/* 临时凭证有效期,单位秒,取值范围:1800~您所扮演的角色设置的maxSessionDuration,默认3600 (Optional) */
	DurationSeconds int `json:"durationSeconds"`

	/* SAML断言(Base64编码)  */
	SamlAssertion string `json:"samlAssertion"`
}

type AssumeServiceRoleInfo

type AssumeServiceRoleInfo struct {

	/* 角色类型, 1-服务相关角色,2-服务角色  */
	RoleType int `json:"roleType"`

	/* 令牌有效期,单位秒,默认3600 (Optional) */
	DurationSeconds int `json:"durationSeconds"`
}

type AssumedRoleService

type AssumedRoleService struct {

	/* 代入角色id (Optional) */
	AssumedServiceRoleId string `json:"assumedServiceRoleId"`

	/* 代入角色名 (Optional) */
	AssumedServiceRoleName string `json:"assumedServiceRoleName"`
}

type AssumedRoleUser

type AssumedRoleUser struct {

	/* 代入角色id (Optional) */
	AssumedRoleId string `json:"assumedRoleId"`

	/* 京东云资源标识(jrn) (Optional) */
	Jrn string `json:"jrn"`
}

type Credentials

type Credentials struct {

	/* 临时accessKey (Optional) */
	AccessKey string `json:"accessKey"`

	/* 临时secretKey (Optional) */
	SecretKey string `json:"secretKey"`

	/* 临时安全令牌 (Optional) */
	SessionToken string `json:"sessionToken"`

	/* 失效时间,格式:yyyy-MM-dd HH:mm:ss(eg 2019-01-01 00:00:00) (Optional) */
	Expiration string `json:"expiration"`
}

type SamlAssertionInfo added in v1.17.0

type SamlAssertionInfo struct {

	/* SAML断言中NameID的格式 (Optional) */
	SubjectType string `json:"subjectType"`

	/* SAML断言中Subject.NameID字段值 (Optional) */
	Subject string `json:"subject"`

	/* SAML断言中Subject.SubjectConfirmation.SubjectConfirmationData字段中Recipient字段值 (Optional) */
	Recipient string `json:"recipient"`

	/* SAML断言中Issuer字段值 (Optional) */
	Issuer string `json:"issuer"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL