summaryrefslogtreecommitdiff
path: root/doc/bugs/S3_remote___8212___un-embedding_creds__63__/comment_1_336e1c2a5c2a367cba0ad74896b3895b._comment
blob: 79a44d7c52f785c481dfed29fc4946052ddc07db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2017-02-20T18:38:16Z"
 content="""
When you used embedcreds=yes, it *committed* the creds to the git-annex
branch of the git repository. For embedcreds=no to do anything useful,
it would need to remove that data from the git repository history.

Removing data from a git repository tends to involve rewriting commits and
forced pushes to all remotes, it's not a simple process and not ameanable
to automation. It will be much easier, and more secure, to go into S3
and generate new credentials, and revoke access to the old ones.

What `git annex enableremote` with `embedcreds=no` does do is prevent
any new creds from being embedded into the repository. Otherwise,
`git annex enableremote` will update the embedded creds
with whatever new ones are set in the environment when you run it.
"""]]