TrustedAccount

TrustedAccount #

Package : spaceone.api.identity.v2



TrustedAccount #

TrustedAccount Methods:

MethodRequestResponse
createCreateTrustedAccountRequestTrustedAccountInfo
updateUpdateTrustedAccountRequestTrustedAccountInfo
update_secret_dataUpdateTrustedAccountSecretRequestTrustedAccountInfo
deleteTrustedAccountRequestEmpty
syncTrustedAccountRequestJobInfo
getTrustedAccountRequestTrustedAccountInfo
listTrustedAccountSearchQueryTrustedAccountsInfo
statTrustedAccountStatQueryStruct

create #

POST /identity/v2/trusted-account/create

CreateTrustedAccountRequest

  • name (string) Required

  • data (Struct) Required

    Base Information of Trusted Account. It depends on provider.

  • provider (string) Required

  • secret_schema_id (string) Required

  • secret_data (Struct) Required

  • resource_group (ResourceGroup) Required

  • schedule (Scheduled)

  • sync_options (Struct)

  • plugin_options (Struct)

  • tags (Struct)

  • workspace_id (string)

{
 "name": "Trusted Account",
 "data": {
   "account_id": "a1b2c3d4e5f6"
  },
 "provider": "aws",
 "secret_schema_id": "aws-secret-access-key",
 "secret_data": {
   "aws_access_key_id": "a1b2c3d4e5f6",
   "aws_secret_access_key": "a1b2c3d4e5f6"
 },
 "schedule": {
   "state": "ENABLED",
   "hours": [3, 15]
 },
 "resource_group": "DOMAIN"
}

TrustedAccountInfo

  • trusted_account_id (string) Required

  • name (string) Required

  • data (Struct) Required

  • provider (string) Required

  • schedule (Scheduled) Required

  • sync_options (Struct) Required

  • plugin_options (Struct) Required

  • tags (Struct) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • secret_schema_id (string) Required

  • trusted_secret_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T07:53:57.897Z",
 "data": {
   "account_id": "a1b2c3d4e5f6"
 },
 "domain_id": "domain-a1b2c3d4e5f6",
 "name": "Trusted Account",
 "provider": "aws",
 "resource_group": "DOMAIN",
 "schedule": {
   "hours": [3, 15],
   "state": "ENABLED"
 },
 "secret_schema_id": "aws-secret-access-key",
 "trusted_account_id": "ta-a1b2c3d4e5f6",
 "trusted_secret_id": "trusted-secret-a1b2c3d4e5f6",
 "workspace_id": "*"
}

update #

POST /identity/v2/trusted-account/update

UpdateTrustedAccountRequest

  • trusted_account_id (string) Required

  • tags (Struct) Required

  • name (string)

  • data (Struct)

  • schedule (Scheduled)

  • sync_options (Struct)

  • plugin_options (Struct)

{
 "trusted_account_id": "ta-a1b2c3d4e5f6",
 "name": "Trusted Account"
}

TrustedAccountInfo

  • trusted_account_id (string) Required

  • name (string) Required

  • data (Struct) Required

  • provider (string) Required

  • schedule (Scheduled) Required

  • sync_options (Struct) Required

  • plugin_options (Struct) Required

  • tags (Struct) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • secret_schema_id (string) Required

  • trusted_secret_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T07:53:57.897Z",
 "data": {
   "account_id": "a1b2c3d4e5f6"
 },
 "domain_id": "domain-a1b2c3d4e5f6",
 "name": "Trusted Account",
 "provider": "aws",
 "resource_group": "DOMAIN",
 "schedule": {
   "hours": [3, 15],
   "state": "ENABLED"
 },
 "secret_schema_id": "aws-secret-access-key",
 "trusted_account_id": "ta-a1b2c3d4e5f6",
 "trusted_secret_id": "trusted-secret-a1b2c3d4e5f6",
 "workspace_id": "*"
}

update_secret_data #

POST /identity/v2/trusted-account/update-secret-data

UpdateTrustedAccountSecretRequest

  • trusted_account_id (string) Required

  • secret_schema_id (string) Required

  • secret_data (Struct) Required

{
 "trusted_account_id": "ta-a1b2c3d4e5f6",
 "secretSchemaId": "aws-secret-access-key",
 "secretData": {
   "aws_access_key_id": "a1b2c3d4e5f6",
   "aws_secret_access_key": "a1b2c3d4e5f6"
 }
}

TrustedAccountInfo

  • trusted_account_id (string) Required

  • name (string) Required

  • data (Struct) Required

  • provider (string) Required

  • schedule (Scheduled) Required

  • sync_options (Struct) Required

  • plugin_options (Struct) Required

  • tags (Struct) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • secret_schema_id (string) Required

  • trusted_secret_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T07:53:57.897Z",
 "data": {
   "account_id": "a1b2c3d4e5f6"
 },
 "domain_id": "domain-a1b2c3d4e5f6",
 "name": "Trusted Account",
 "provider": "aws",
 "resource_group": "DOMAIN",
 "schedule": {
   "hours": [3, 15],
   "state": "ENABLED"
 },
 "secret_schema_id": "aws-secret-access-key",
 "trusted_account_id": "ta-a1b2c3d4e5f6",
 "trusted_secret_id": "trusted-secret-a1b2c3d4e5f6",
 "workspace_id": "*"
}

delete #

POST /identity/v2/trusted-account/delete

TrustedAccountRequest

  • trusted_account_id (string) Required
{
 "trusted_account_id": "ta-a1b2c3d4e5f6"
}

sync #

POST /identity/v2/trusted-account/sync

TrustedAccountRequest

  • trusted_account_id (string) Required
{
 "trusted_account_id": "ta-a1b2c3d4e5f6"
}

get #

POST /identity/v2/trusted-account/get

TrustedAccountRequest

  • trusted_account_id (string) Required
{
 "trusted_account_id": "ta-a1b2c3d4e5f6"
}

TrustedAccountInfo

  • trusted_account_id (string) Required

  • name (string) Required

  • data (Struct) Required

  • provider (string) Required

  • schedule (Scheduled) Required

  • sync_options (Struct) Required

  • plugin_options (Struct) Required

  • tags (Struct) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • secret_schema_id (string) Required

  • trusted_secret_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T07:53:57.897Z",
 "data": {
   "account_id": "a1b2c3d4e5f6"
 },
 "domain_id": "domain-a1b2c3d4e5f6",
 "name": "Trusted Account",
 "provider": "aws",
 "resource_group": "DOMAIN",
 "schedule": {
   "hours": [3, 15],
   "state": "ENABLED"
 },
 "secret_schema_id": "aws-secret-access-key",
 "trusted_account_id": "ta-a1b2c3d4e5f6",
 "trusted_secret_id": "trusted-secret-a1b2c3d4e5f6",
 "workspace_id": "*"
}

list #

POST /identity/v2/trusted-account/list

TrustedAccountSearchQuery

  • query (Query)

  • trusted_account_id (string)

  • name (string)

  • provider (string)

  • workspace_id (string)

  • secret_schema_id (string)

  • trusted_secret_id (string)

{
 "provider": "aws",
 "query": {
   "page": {
     "start": 1,
     "limit": 10
   },
   "sort": [
     {
       "key": "created_at",
       "desc": true
     }
   ]
 }
}

TrustedAccountsInfo

  • results (TrustedAccountInfo) Repeated Required

  • total_count (int32) Required

{
 "results": [
   {
     "created_at": "2024-11-18T07:47:02.789Z",
     "data": {
       "account_id": "a1b2c3d4e5f6"
     },
     "domain_id": "domain-a1b2c3d4e5f6",
     "name": "Trusted Account",
     "provider": "aws",
     "resource_group": "DOMAIN",
     "secret_schema_id": "aws-secret-access-key",
     "trusted_account_id": "ta-a1b2c3d4e5f6",
     "trusted_secret_id": "trusted-secret-a1b2c3d4e5f6",
     "workspace_id": "*"
   },
   {
     "created_at": "2024-11-18T07:10:17.114Z",
     "data": {
       "account_id": "g7h8i9j1k2l3"
     },
     "domain_id": "domain-a1b2c3d4e5f6",
     "name": "Wonny Trusted Account",
     "provider": "aws",
     "resource_group": "DOMAIN",
     "secret_schema_id": "aws-secret-access-key",
     "trusted_account_id": "ta-g7h8i9j1k2l3",
     "trusted_secret_id": "trusted-secret-g7h8i9j1k2l3",
     "workspace_id": "*"
   }
 ],
 "total_count": 2
}

stat #

POST /identity/v2/trusted-account/stat



Message #

CreateTrustedAccountRequest #

  • name (string) Required

  • data (Struct) Required

    Base Information of Trusted Account. It depends on provider.

  • provider (string) Required

  • secret_schema_id (string) Required

  • secret_data (Struct) Required

  • resource_group (ResourceGroup) Required

  • schedule (Scheduled)

  • sync_options (Struct)

  • plugin_options (Struct)

  • tags (Struct)

  • workspace_id (string)


Scheduled #

  • state (ScheduledState) Required

  • hours (int32) Repeated Required


TrustedAccountInfo #

  • trusted_account_id (string) Required

  • name (string) Required

  • data (Struct) Required

  • provider (string) Required

  • schedule (Scheduled) Required

  • sync_options (Struct) Required

  • plugin_options (Struct) Required

  • tags (Struct) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • secret_schema_id (string) Required

  • trusted_secret_id (string) Required

  • created_at (string) Required


TrustedAccountRequest #

  • trusted_account_id (string) Required


TrustedAccountSearchQuery #

  • query (Query)

  • trusted_account_id (string)

  • name (string)

  • provider (string)

  • workspace_id (string)

  • secret_schema_id (string)

  • trusted_secret_id (string)


TrustedAccountStatQuery #

  • query (StatisticsQuery) Required


TrustedAccountsInfo #

  • results (TrustedAccountInfo) Repeated Required

  • total_count (int32) Required


UpdateTrustedAccountRequest #

  • trusted_account_id (string) Required

  • tags (Struct) Required

  • name (string)

  • data (Struct)

  • schedule (Scheduled)

  • sync_options (Struct)

  • plugin_options (Struct)


UpdateTrustedAccountSecretRequest #

  • trusted_account_id (string) Required

  • secret_schema_id (string) Required

  • secret_data (Struct) Required


Calendar December 4, 2024
Edit Edit this page