summaryrefslogtreecommitdiffstats
path: root/docs/credentials
diff options
context:
space:
mode:
authorRyan Petrello <rpetrell@redhat.com>2020-04-30 04:25:28 +0200
committerRyan Petrello <rpetrell@redhat.com>2020-04-30 16:22:02 +0200
commit18607107a75048d954b8934dc519be977d90dd38 (patch)
tree440c8f0cbc8b74a04a2a3bc25c1780f08f5e5b02 /docs/credentials
parentMerge pull request #6880 from ryanpetrello/fix-awxkit-new-pip (diff)
downloadawx-18607107a75048d954b8934dc519be977d90dd38.tar.xz
awx-18607107a75048d954b8934dc519be977d90dd38.zip
remove the deprecated extra_credentials endpoints
Diffstat (limited to 'docs/credentials')
-rw-r--r--docs/credentials/custom_credential_types.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/credentials/custom_credential_types.md b/docs/credentials/custom_credential_types.md
index 238dad12ba..630db24b30 100644
--- a/docs/credentials/custom_credential_types.md
+++ b/docs/credentials/custom_credential_types.md
@@ -37,7 +37,7 @@ Important Changes
two OpenStack credentials.
* In the same manner as "promptable SSH credentials", when
- ``ask_credential_on_launch = true``, ``JobTemplate.extra_credentials`` can be
+ ``ask_credential_on_launch = true``, ``JobTemplate.credentials`` can be
specified in the launch payload.
* Custom inventory sources can now utilize a ``Credential``; you
@@ -221,9 +221,9 @@ API resources in `/api/v2/` now have two credential related fields:
...
}
-...and a new endpoint for fetching all "extra" credentials:
+...and a new endpoint for fetching all credentials:
- HTTP GET /api/v2/job_templates/N/extra_credentials/
+ HTTP GET /api/v2/job_templates/N/credentials/
{
'count': N,
@@ -239,21 +239,21 @@ Similar to other list attachment/detachment API views, cloud and network
credentials can be created and attached via an `HTTP POST` at this new
endpoint:
- HTTP POST /api/v2/job_templates/N/extra_credentials/
+ HTTP POST /api/v2/job_templates/N/credentials/
{
'id': <cloud_credential_primary_key>,
'associate': True,
}
- HTTP POST /api/v2/job_templates/N/extra_credentials/
+ HTTP POST /api/v2/job_templates/N/credentials/
{
'id': <network_credential_primary_key>,
'disassociate': True,
}
- HTTP POST /api/v2/job_templates/N/extra_credentials/
+ HTTP POST /api/v2/job_templates/N/credentials/
{
'name': 'My Credential',