MyF5 API#
Note
This modules is considered experimental, because the MyF5 API offering is currently in a closed beta state. Contact your F5 representative and ask for access to experiment with it.
RESTSH_MODULES=("cert" "custom" "myf5")
All functions for this module are prefixed with myf5..
Example configuration file: .restsh-config.dist.myf5
Authentication#
The MyF5 API uses OAuth2 based authentication. You must create a client id and client secret for your account.
See Passwords and Secrets for storing the credentials encrypted.
[ -n "${RESTSH_HOST+x}" ] || export RESTSH_HOST="support.apis.f5.com"
[ -n "${RESTSH_AUTH+x}" ] || export RESTSH_AUTH="token"
[ -n "${RESTSH_TOKEN_HEADER+x}" ] || export RESTSH_TOKEN_HEADER="Authorization"
[ -n "${MYF5_CLIENTID+x}" ] || export MYF5_CLIENTID=""
[ -n "${MYF5_SECRET+x}" ] || export MYF5_SECRET=""