Here are the steps I did and got the error every time...
- Created docker registry in jfrog artifactory and added container there.
- create access token on jfrog artifactory
- create secret in aws secret manager side (username: password:). Added Task execution role to add secretsmanager:*
- create ECS task definition. Add private repository and add secret manager ARN
- run the task and wait to see NGINX container to run... and finally got below error..
"asm fetching username: authorization data is malformed, empty field"
Not sure what wrong i am doing here. Here is the Doc has given by AWS on same. But still not working...
Any help appreciated!
this is my mistake; I added a space after "username " section in AWS SM. once delete that space, it worked immidiate.