Are the environment variables used in the task definitions for the ECS service encrypted?

0

Are the environment variables used in the task definitions for the ECS service encrypted?

已提問 8 年前檢視次數 690 次
2 個答案
1
已接受的答案

No. Environment variables are not encrypted when viewed through the ECS API, ECS Console, and are also visible on the host itself through docker inspect.

Sam-AWS
已回答 8 年前
-1

By default, ENV variables in your TaskDefinition are NOT encrypted. However, You could use AWS Parameter Store or AWS Secrets manager to encrypt your ENV vars.

kspnec
已回答 2 年前
  • The environment variables exposed to the containers are not encrypted. You might have the source of the value (SSM/SecretsManager) encrypted but not the value of the env var itself to the containers. That defies the purpose. Just clarifying as this is confusing.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南