From 6d2633ae80be0881b3ed13e324ca4c5c40411095 Mon Sep 17 00:00:00 2001 From: Arsalan Khan Date: Thu, 1 Aug 2024 11:32:39 +0200 Subject: [PATCH] Update docs/defining-a-custom-metric-87e657e.md Co-authored-by: Silvestre Zabala --- docs/defining-a-custom-metric-87e657e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/defining-a-custom-metric-87e657e.md b/docs/defining-a-custom-metric-87e657e.md index a16dd11..96bb34a 100644 --- a/docs/defining-a-custom-metric-87e657e.md +++ b/docs/defining-a-custom-metric-87e657e.md @@ -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 > ```