Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudCamAccountSummary() *schema.Resource
- func DataSourceTencentCloudCamGroupMemberships() *schema.Resource
- func DataSourceTencentCloudCamGroupPolicyAttachments() *schema.Resource
- func DataSourceTencentCloudCamGroupUserAccount() *schema.Resource
- func DataSourceTencentCloudCamGroups() *schema.Resource
- func DataSourceTencentCloudCamListAttachedUserPolicy() *schema.Resource
- func DataSourceTencentCloudCamListEntitiesForPolicy() *schema.Resource
- func DataSourceTencentCloudCamOidcConfig() *schema.Resource
- func DataSourceTencentCloudCamPolicies() *schema.Resource
- func DataSourceTencentCloudCamPolicyGrantingServiceAccess() *schema.Resource
- func DataSourceTencentCloudCamRolePolicyAttachments() *schema.Resource
- func DataSourceTencentCloudCamRoles() *schema.Resource
- func DataSourceTencentCloudCamSAMLProviders() *schema.Resource
- func DataSourceTencentCloudCamSecretLastUsedTime() *schema.Resource
- func DataSourceTencentCloudCamUserPolicyAttachments() *schema.Resource
- func DataSourceTencentCloudCamUsers() *schema.Resource
- func DataSourceTencentCloudUserInfo() *schema.Resource
- func DecodeJSONFromReader(r io.Reader, out interface{}) error
- func EncryptShares(input [][]byte, pgpKeys []string) ([]string, [][]byte, error)
- func FetchKeybasePubkeys(input []string) (map[string]string, error)
- func GetEntities(pgpKeys []string) ([]*openpgp.Entity, error)
- func GetFingerprints(pgpKeys []string, entities []*openpgp.Entity) ([]string, error)
- func ResourceTencentCloudCamAccessKey() *schema.Resource
- func ResourceTencentCloudCamGroup() *schema.Resource
- func ResourceTencentCloudCamGroupMembership() *schema.Resource
- func ResourceTencentCloudCamGroupPolicyAttachment() *schema.Resource
- func ResourceTencentCloudCamMfaFlag() *schema.Resource
- func ResourceTencentCloudCamOIDCSSO() *schema.Resource
- func ResourceTencentCloudCamPolicy() *schema.Resource
- func ResourceTencentCloudCamPolicyByName() *schema.Resource
- func ResourceTencentCloudCamPolicyVersion() *schema.Resource
- func ResourceTencentCloudCamRole() *schema.Resource
- func ResourceTencentCloudCamRoleByName() *schema.Resource
- func ResourceTencentCloudCamRolePermissionBoundaryAttachment() *schema.Resource
- func ResourceTencentCloudCamRolePolicyAttachment() *schema.Resource
- func ResourceTencentCloudCamRolePolicyAttachmentByName() *schema.Resource
- func ResourceTencentCloudCamRoleSSO() *schema.Resource
- func ResourceTencentCloudCamSAMLProvider() *schema.Resource
- func ResourceTencentCloudCamServiceLinkedRole() *schema.Resource
- func ResourceTencentCloudCamSetPolicyVersionConfig() *schema.Resource
- func ResourceTencentCloudCamTagRoleAttachment() *schema.Resource
- func ResourceTencentCloudCamUser() *schema.Resource
- func ResourceTencentCloudCamUserPermissionBoundaryAttachment() *schema.Resource
- func ResourceTencentCloudCamUserPolicyAttachment() *schema.Resource
- func ResourceTencentCloudCamUserSamlConfig() *schema.Resource
- type CamService
- func (me *CamService) AddGroupPolicyAttachment(ctx context.Context, groupId string, policyId string) error
- func (me *CamService) AddUserPolicyAttachment(ctx context.Context, userId string, policyId string) error
- func (me *CamService) DeleteCamAccessKeyById(ctx context.Context, uin, accessKeyId string) (errRet error)
- func (me *CamService) DeleteCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (errRet error)
- func (me *CamService) DeleteCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, roleName string) (errRet error)
- func (me *CamService) DeleteCamServiceLinkedRoleById(ctx context.Context, roleId string) (deletionTaskId string, errRet error)
- func (me *CamService) DeleteCamTagRoleById(ctx context.Context, roleName, roleId string, keys []*string) (errRet error)
- func (me *CamService) DeleteCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (errRet error)
- func (me *CamService) DeleteCamUserSamlConfigById(ctx context.Context) (errRet error)
- func (me *CamService) DeleteGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) error
- func (me *CamService) DeleteRoleById(ctx context.Context, roleId string) error
- func (me *CamService) DeleteRoleByName(ctx context.Context, roleName string) error
- func (me *CamService) DeleteRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) error
- func (me *CamService) DeleteRolePolicyAttachmentByName(ctx context.Context, roleName, policyName string) error
- func (me *CamService) DeleteUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) error
- func (me *CamService) DescribeCamAccessKeyById(ctx context.Context, targetUin uint64, accessKey string) (AccessKey *cam.AccessKey, errRet error)
- func (me *CamService) DescribeCamAccountSummaryByFilter(ctx context.Context) (AccountSummary *cam.GetAccountSummaryResponseParams, errRet error)
- func (me *CamService) DescribeCamGroupUserAccountByFilter(ctx context.Context, param map[string]interface{}) (GroupUserAccount []*cam.GroupInfo, errRet error)
- func (me *CamService) DescribeCamListAttachedUserPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListAttachedUserPolicy []*cam.AttachedUserPolicy, errRet error)
- func (me *CamService) DescribeCamListEntitiesForPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListEntitiesForPolicy []*cam.AttachEntityOfPolicy, errRet error)
- func (me *CamService) DescribeCamMfaFlagById(ctx context.Context, id uint64) (loginFlag *cam.LoginActionFlag, actionFlag *cam.LoginActionFlag, errRet error)
- func (me *CamService) DescribeCamPolicyGrantingServiceAccessByFilter(ctx context.Context, param map[string]interface{}) (PolicyGrantingServiceAccess []*cam.ListGrantServiceAccessNode, errRet error)
- func (me *CamService) DescribeCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (policyVersion *cam.PolicyVersionDetail, errRet error)
- func (me *CamService) DescribeCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, policyId string) (RolePermissionBoundaryAttachment *cam.GetRolePermissionBoundaryResponseParams, ...)
- func (me *CamService) DescribeCamSecretLastUsedTimeByFilter(ctx context.Context, param map[string]interface{}) (SecretLastUsedTime []*cam.SecretIdLastUsed, errRet error)
- func (me *CamService) DescribeCamServiceLinkedRole(ctx context.Context, roleId string) (serviceLinkedRole *cam.RoleInfo, errRet error)
- func (me *CamService) DescribeCamServiceLinkedRoleDeleteStatus(ctx context.Context, deletionTaskId string) (response *cam.GetServiceLinkedRoleDeletionStatusResponse, errRet error)
- func (me *CamService) DescribeCamSetPolicyVersionById(ctx context.Context, policyId, versionId string) (SetPolicyVersion *cam.PolicyVersionItem, errRet error)
- func (me *CamService) DescribeCamTagRoleById(ctx context.Context, roleName, roleId string) (TagRole *cam.RoleInfo, errRet error)
- func (me *CamService) DescribeCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (UserPermissionBoundary *cam.GetUserPermissionBoundaryResponse, errRet error)
- func (me *CamService) DescribeCamUserSamlConfigById(ctx context.Context) (userSamlConfig *cam.DescribeUserSAMLConfigResponse, errRet error)
- func (me *CamService) DescribeGroupById(ctx context.Context, groupId string) (camInstance *cam.GetGroupResponse, errRet error)
- func (me *CamService) DescribeGroupMembershipById(ctx context.Context, groupId string) (members []*string, errRet error)
- func (me *CamService) DescribeGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeGroupPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeGroupsByFilter(ctx context.Context, params map[string]interface{}) (groups []*cam.GroupInfo, errRet error)
- func (me *CamService) DescribePoliciesByFilter(ctx context.Context, params map[string]interface{}) (policies []*cam.StrategyInfo, errRet error)
- func (me *CamService) DescribePolicyById(ctx context.Context, policyId string) (result *cam.GetPolicyResponse, errRet error)
- func (me *CamService) DescribeRoleById(ctx context.Context, roleId string) (camInstance *cam.RoleInfo, errRet error)
- func (me *CamService) DescribeRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
- func (me *CamService) DescribeRolePolicyAttachmentByName(ctx context.Context, roleName string, params map[string]interface{}) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
- func (me *CamService) DescribeRolePolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyOfRoles []*cam.AttachedPolicyOfRole, errRet error)
- func (me *CamService) DescribeRolesByFilter(ctx context.Context, params map[string]interface{}) (roles []*cam.RoleInfo, errRet error)
- func (me *CamService) DescribeSAMLProviderById(ctx context.Context, providerName string) (result *cam.GetSAMLProviderResponse, errRet error)
- func (me *CamService) DescribeSAMLProvidersByFilter(ctx context.Context, params map[string]interface{}) (providers []*cam.SAMLProviderInfo, errRet error)
- func (me *CamService) DescribeUserById(ctx context.Context, userId string) (response *cam.GetUserResponse, errRet error)
- func (me *CamService) DescribeUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeUserPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
- func (me *CamService) DescribeUsersByFilter(ctx context.Context, params map[string]interface{}) (result []*cam.SubAccountInfo, errRet error)
- func (me *CamService) PolicyDocumentForceCheck(document string) error
- type Document
- type Principal
- type Statement
Constants ¶
View Source
const ( CAM_POLICY_CREATE_STRATEGY_CUSTOM = "User" CAM_POLICY_CREATE_STRATEGY_PRESET = "QCS" CAM_POLICY_CREATE_STRATEGY_NULL = "" )
View Source
const PAGE_ITEM = 200
Variables ¶
View Source
var CAM_POLICY_CREATE_STRATEGY = []string{ CAM_POLICY_CREATE_STRATEGY_CUSTOM, CAM_POLICY_CREATE_STRATEGY_PRESET, CAM_POLICY_CREATE_STRATEGY_NULL, }
Functions ¶
func DataSourceTencentCloudCamListAttachedUserPolicy ¶ added in v1.81.62
func DecodeJSONFromReader ¶
func EncryptShares ¶
func GetFingerprints ¶
Types ¶
type CamService ¶
type CamService struct {
// contains filtered or unexported fields
}
func NewCamService ¶
func NewCamService(client *connectivity.TencentCloudClient) CamService
func (*CamService) AddGroupPolicyAttachment ¶
func (*CamService) AddUserPolicyAttachment ¶
func (*CamService) DeleteCamAccessKeyById ¶
func (me *CamService) DeleteCamAccessKeyById(ctx context.Context, uin, accessKeyId string) (errRet error)
func (*CamService) DeleteCamPolicyVersionById ¶
func (*CamService) DeleteCamRolePermissionBoundaryAttachmentById ¶
func (*CamService) DeleteCamServiceLinkedRoleById ¶
func (*CamService) DeleteCamTagRoleById ¶
func (*CamService) DeleteCamUserPermissionBoundaryById ¶
func (me *CamService) DeleteCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (errRet error)
func (*CamService) DeleteCamUserSamlConfigById ¶
func (me *CamService) DeleteCamUserSamlConfigById(ctx context.Context) (errRet error)
func (*CamService) DeleteGroupPolicyAttachmentById ¶
func (me *CamService) DeleteGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) error
func (*CamService) DeleteRoleById ¶
func (me *CamService) DeleteRoleById(ctx context.Context, roleId string) error
func (*CamService) DeleteRoleByName ¶
func (me *CamService) DeleteRoleByName(ctx context.Context, roleName string) error
func (*CamService) DeleteRolePolicyAttachmentById ¶
func (me *CamService) DeleteRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) error
func (*CamService) DeleteRolePolicyAttachmentByName ¶
func (me *CamService) DeleteRolePolicyAttachmentByName(ctx context.Context, roleName, policyName string) error
func (*CamService) DeleteUserPolicyAttachmentById ¶
func (me *CamService) DeleteUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) error
func (*CamService) DescribeCamAccessKeyById ¶
func (*CamService) DescribeCamAccountSummaryByFilter ¶
func (me *CamService) DescribeCamAccountSummaryByFilter(ctx context.Context) (AccountSummary *cam.GetAccountSummaryResponseParams, errRet error)
func (*CamService) DescribeCamGroupUserAccountByFilter ¶
func (*CamService) DescribeCamListAttachedUserPolicyByFilter ¶
func (me *CamService) DescribeCamListAttachedUserPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListAttachedUserPolicy []*cam.AttachedUserPolicy, errRet error)
func (*CamService) DescribeCamListEntitiesForPolicyByFilter ¶
func (me *CamService) DescribeCamListEntitiesForPolicyByFilter(ctx context.Context, param map[string]interface{}) (ListEntitiesForPolicy []*cam.AttachEntityOfPolicy, errRet error)
func (*CamService) DescribeCamMfaFlagById ¶
func (me *CamService) DescribeCamMfaFlagById(ctx context.Context, id uint64) (loginFlag *cam.LoginActionFlag, actionFlag *cam.LoginActionFlag, errRet error)
func (*CamService) DescribeCamPolicyGrantingServiceAccessByFilter ¶
func (me *CamService) DescribeCamPolicyGrantingServiceAccessByFilter(ctx context.Context, param map[string]interface{}) (PolicyGrantingServiceAccess []*cam.ListGrantServiceAccessNode, errRet error)
func (*CamService) DescribeCamPolicyVersionById ¶
func (me *CamService) DescribeCamPolicyVersionById(ctx context.Context, policyId uint64, versionId uint64) (policyVersion *cam.PolicyVersionDetail, errRet error)
func (*CamService) DescribeCamRolePermissionBoundaryAttachmentById ¶
func (me *CamService) DescribeCamRolePermissionBoundaryAttachmentById(ctx context.Context, roleId string, policyId string) (RolePermissionBoundaryAttachment *cam.GetRolePermissionBoundaryResponseParams, errRet error)
func (*CamService) DescribeCamSecretLastUsedTimeByFilter ¶
func (me *CamService) DescribeCamSecretLastUsedTimeByFilter(ctx context.Context, param map[string]interface{}) (SecretLastUsedTime []*cam.SecretIdLastUsed, errRet error)
func (*CamService) DescribeCamServiceLinkedRole ¶
func (*CamService) DescribeCamServiceLinkedRoleDeleteStatus ¶
func (me *CamService) DescribeCamServiceLinkedRoleDeleteStatus(ctx context.Context, deletionTaskId string) (response *cam.GetServiceLinkedRoleDeletionStatusResponse, errRet error)
func (*CamService) DescribeCamSetPolicyVersionById ¶
func (me *CamService) DescribeCamSetPolicyVersionById(ctx context.Context, policyId, versionId string) (SetPolicyVersion *cam.PolicyVersionItem, errRet error)
func (*CamService) DescribeCamTagRoleById ¶
func (*CamService) DescribeCamUserPermissionBoundaryById ¶
func (me *CamService) DescribeCamUserPermissionBoundaryById(ctx context.Context, targetUin string) (UserPermissionBoundary *cam.GetUserPermissionBoundaryResponse, errRet error)
func (*CamService) DescribeCamUserSamlConfigById ¶
func (me *CamService) DescribeCamUserSamlConfigById(ctx context.Context) (userSamlConfig *cam.DescribeUserSAMLConfigResponse, errRet error)
func (*CamService) DescribeGroupById ¶
func (me *CamService) DescribeGroupById(ctx context.Context, groupId string) (camInstance *cam.GetGroupResponse, errRet error)
func (*CamService) DescribeGroupMembershipById ¶
func (*CamService) DescribeGroupPolicyAttachmentById ¶
func (me *CamService) DescribeGroupPolicyAttachmentById(ctx context.Context, groupPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeGroupPolicyAttachmentsByFilter ¶
func (me *CamService) DescribeGroupPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeGroupsByFilter ¶
func (*CamService) DescribePoliciesByFilter ¶
func (me *CamService) DescribePoliciesByFilter(ctx context.Context, params map[string]interface{}) (policies []*cam.StrategyInfo, errRet error)
func (*CamService) DescribePolicyById ¶
func (me *CamService) DescribePolicyById(ctx context.Context, policyId string) (result *cam.GetPolicyResponse, errRet error)
func (*CamService) DescribeRoleById ¶
func (*CamService) DescribeRolePolicyAttachmentById ¶
func (me *CamService) DescribeRolePolicyAttachmentById(ctx context.Context, rolePolicyAttachmentId string) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
func (*CamService) DescribeRolePolicyAttachmentByName ¶
func (me *CamService) DescribeRolePolicyAttachmentByName(ctx context.Context, roleName string, params map[string]interface{}) (policyOfRole *cam.AttachedPolicyOfRole, errRet error)
func (*CamService) DescribeRolePolicyAttachmentsByFilter ¶
func (me *CamService) DescribeRolePolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyOfRoles []*cam.AttachedPolicyOfRole, errRet error)
func (*CamService) DescribeRolesByFilter ¶
func (*CamService) DescribeSAMLProviderById ¶
func (me *CamService) DescribeSAMLProviderById(ctx context.Context, providerName string) (result *cam.GetSAMLProviderResponse, errRet error)
func (*CamService) DescribeSAMLProvidersByFilter ¶
func (me *CamService) DescribeSAMLProvidersByFilter(ctx context.Context, params map[string]interface{}) (providers []*cam.SAMLProviderInfo, errRet error)
func (*CamService) DescribeUserById ¶
func (me *CamService) DescribeUserById(ctx context.Context, userId string) (response *cam.GetUserResponse, errRet error)
func (*CamService) DescribeUserPolicyAttachmentById ¶
func (me *CamService) DescribeUserPolicyAttachmentById(ctx context.Context, userPolicyAttachmentId string) (policyResults *cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeUserPolicyAttachmentsByFilter ¶
func (me *CamService) DescribeUserPolicyAttachmentsByFilter(ctx context.Context, params map[string]interface{}) (policyResults []*cam.AttachPolicyInfo, errRet error)
func (*CamService) DescribeUsersByFilter ¶
func (me *CamService) DescribeUsersByFilter(ctx context.Context, params map[string]interface{}) (result []*cam.SubAccountInfo, errRet error)
func (*CamService) PolicyDocumentForceCheck ¶
func (me *CamService) PolicyDocumentForceCheck(document string) error
Source Files ¶
- data_source_tc_cam_account_summary.go
- data_source_tc_cam_group_memberships.go
- data_source_tc_cam_group_policy_attachments.go
- data_source_tc_cam_group_user_account.go
- data_source_tc_cam_groups.go
- data_source_tc_cam_list_attached_user_policy.go
- data_source_tc_cam_list_entities_for_policy.go
- data_source_tc_cam_oidc_config.go
- data_source_tc_cam_policies.go
- data_source_tc_cam_policy_granting_service_access.go
- data_source_tc_cam_role_policy_attachments.go
- data_source_tc_cam_roles.go
- data_source_tc_cam_saml_providers.go
- data_source_tc_cam_secret_last_used_time.go
- data_source_tc_cam_user_policy_attachments.go
- data_source_tc_cam_users.go
- data_source_tc_user_info.go
- extension_cam.go
- pkgkey.go
- resource_tc_cam_access_key.go
- resource_tc_cam_group.go
- resource_tc_cam_group_membership.go
- resource_tc_cam_group_policy_attachment.go
- resource_tc_cam_mfa_flag.go
- resource_tc_cam_oidc_sso.go
- resource_tc_cam_policy.go
- resource_tc_cam_policy_by_name.go
- resource_tc_cam_policy_version.go
- resource_tc_cam_role.go
- resource_tc_cam_role_by_name.go
- resource_tc_cam_role_permission_boundary_attachment.go
- resource_tc_cam_role_policy_attachment.go
- resource_tc_cam_role_policy_attachment_by_name.go
- resource_tc_cam_role_sso.go
- resource_tc_cam_saml_provider.go
- resource_tc_cam_service_linked_role.go
- resource_tc_cam_set_policy_version_config.go
- resource_tc_cam_tag_role_attachment.go
- resource_tc_cam_user.go
- resource_tc_cam_user_permission_boundary_attachment.go
- resource_tc_cam_user_policy_attachment.go
- resource_tc_cam_user_saml_config.go
- service_tencentcloud_cam.go
Click to show internal directories.
Click to hide internal directories.