Skip to content

Commit

Permalink
Update docs/defining-a-custom-metric-87e657e.md
Browse files Browse the repository at this point in the history
Co-authored-by: Silvestre Zabala <silvestre.zabala@sap.com>
  • Loading branch information
asalan316 and silvestre authored Aug 1, 2024
1 parent 095c459 commit 6d2633a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/defining-a-custom-metric-87e657e.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ As part of the binding process, the Application Autoscaler service instance prov
The environment variables `CF_INSTANCE_CERT` and `CF_INSTANCE_KEY` are not shown in the cockpit or using the `cf env` command. They are only visible inside the running application container.
> The X.509 certificate and private key pair are valid for 24 hours. At least 20 minutes before expiration, they are regenerated and new files replace the existing files. Make sure that your code reloads the X.509 certificate and private key pair if they are expired. See [Using Instance Identity Credentials](https://docs.cloudfoundry.org/devguide/deploy-apps/instance-identity.html) in the Cloud Foundry Documentation.
**Authenticate with Basic Authentication (Not Recommended)**: `url`, `username`, and `password` in the application environment are provided for backwards compatibility with the HTTP basic authentication scheme and should not be used going forward. If your application still need to authenticate with basic authentication, use credential-type 'binding-secret' in the service binding.
**Authenticate with Basic Authentication (Deprecated, do not use)**: `url`, `username`, and `password` in the application environment are provided for backwards compatibility with the HTTP basic authentication scheme and should not be used going forward. If your application still needs to authenticate with basic authentication, use credential-type `binding-secret` in the service binding and plan to migrate to mTLS (`x509`) authentication until 2025-01-23.
> #### Binding Credentials for Basic Authentication
> ```
Expand Down

0 comments on commit 6d2633a

Please sign in to comment.