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?

posta 8 anni fa690 visualizzazioni
2 Risposte
1
Risposta accettata

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
con risposta 8 anni fa
-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
con risposta 2 anni fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande