title | description | author | ms.author | ms.service | ms.custom | ms.topic | ms.date |
---|---|---|---|---|---|---|---|
Integrate Azure Cache for Redis and Azure Cache Redis Enterprise with Service Connector |
Integrate Azure Cache for Redis and Azure Cache Redis Enterprise into your application with Service Connector |
shizn |
xshi |
service-connector |
event-tier1-build-2022 |
how-to |
05/03/2022 |
This page shows the supported authentication types and client types of Azure Cache for Redis using Service Connector. You might still be able to connect to Azure Cache for Redis in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection. You can learn more about Service Connector environment variable naming convention.
- Azure App Service
- Azure Spring Cloud
Secret/ConnectionString
Default environment variable name | Description | Example value |
---|---|---|
AZURE_REDIS_CONNECTIONSTRING | StackExchange.Redis connection string | {redis-server}.redis.cache.windows.net:6380,password={redis-key},ssl=True,defaultDatabase=0 |
Secret/ConnectionString
Default environment variable name | Description | Example value |
---|---|---|
AZURE_REDIS_CONNECTIONSTRING | Jedis connection string | rediss://:{redis-key}@{redis-server}.redis.cache.windows.net:6380/0 |
Secret/ConnectionString
Application properties | Description | Example value |
---|---|---|
spring.redis.host | Redis host | {redis-server}.redis.cache.windows.net |
spring.redis.port | Redis port | 6380 |
spring.redis.database | Redis database | 0 |
spring.redis.password | Redis key | {redis-key} |
spring.redis.ssl | SSL setting | true |
Secret/ConnectionString
Default environment variable name | Description | Example value |
---|---|---|
AZURE_REDIS_CONNECTIONSTRING | node-redis connection string | rediss://:{redis-key}@{redis-server}.redis.cache.windows.net:6380/0 |
Secret/ConnectionString
Default environment variable name | Description | Example value |
---|---|---|
AZURE_REDIS_CONNECTIONSTRING | redis-py connection string | rediss://:{redis-key}@{redis-server}.redis.cache.windows.net:6380/0 |
Secret/ConnectionString
Default environment variable name | Description | Example value |
---|---|---|
AZURE_REDIS_CONNECTIONSTRING | redis-py connection string | rediss://:{redis-key}@{redis-server}.redis.cache.windows.net:6380/0 |
Follow the tutorials listed below to learn more about Service Connector.
[!div class="nextstepaction"] Learn about Service Connector concepts