sap.sap_operations.cf_service_instance_keys_info module – Fetch information about Cloud Foundry service instance keys
Note
This module is part of the sap.sap_operations collection.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install sap.sap_operations
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: sap.sap_operations.cf_service_instance_keys_info
.
New in sap.sap_operations 1.24.0
Synopsis
Fetch information about Cloud Foundry service instance keys
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.6
cf CLI should be installed and available in PATH
Parameters
Parameter |
Comments |
---|---|
The endpoint URL of the Cloud Foundry API. |
|
The password for authentication with the Cloud Foundry API. |
|
The GUID of the Cloud Foundry service instance to fetch keys for. Either this or the service_instance_name parameter is required. |
|
The name of the Cloud Foundry service instance to fetch keys for. Either this or the service_instance_guid parameter is required. |
|
The username for authentication with the Cloud Foundry API. This is SAP BTP user email address |
Notes
Note
This module is community supported
Module interface (parameters, output) expected to be stable but not guaranteed
Module planned to be released on Ansible Automation Hub after collecting some feedback
There is no guarantee that this module will be officially supported by Red Hat
This is ansible action plugin, not module
Meaning this plugin will be always executed on ansible controller.
Examples
---
- name: Fetch information about service instance keys
sap.sap_operations.cf_service_instance_keys_info:
username: user@email.domain
password: secret
api_endpoint: <cloud foundry api endpoint>
service_instance_guid: <service instance guid>
- name: Fetch information about service instance keys
sap.sap_operations.cf_service_instance_keys_info:
username: user@email.domain
password: secret
api_endpoint: <cloud foundry api endpoint>
service_instance_name: <service instance name>
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A list of service keys with their details. Returned: success |
|
The entity details of the service key. Returned: success |
|
The credentials and related URLs for the service. Returned: success |
|
Various service URLs. Returned: success |
|
URL for the account context service. Returned: success |
|
URL for the accounts service. Returned: success |
|
URL for the cloud automation service. Returned: success |
|
URL for the entitlements service. Returned: success |
|
URL for the events service. Returned: success |
|
URL for the external provider registry service. Returned: success |
|
URL for the metadata service. Returned: success |
|
URL for the order processing service. Returned: success |
|
URL for the provisioning service. Returned: success |
|
URL for the SaaS registry service. Returned: success |
|
The grant type for authentication. Returned: success |
|
SAP cloud service identifier. Returned: success |
|
Details about the UAA (User Account and Authentication). Returned: success |
|
API URL for the UAA service. Returned: success |
|
Client ID for authentication. Returned: success |
|
Client secret for authentication. Returned: success |
|
Identity zone for the UAA service. Returned: success |
|
URL for the UAA service. Returned: success |
|
Public verification key. Returned: success |
|
The name of the service key. Returned: success |
|
GUID of the service instance. Returned: success |
|
URL of the service instance. Returned: success |
|
URL for the service key parameters. Returned: success |
|
Metadata related to the service key. Returned: success |
|
Creation timestamp of the service key. Returned: success |
|
GUID of the service key. Returned: success |
|
Last update timestamp of the service key. Returned: success |
|
URL of the service key. Returned: success |