Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/aws-cli
/ mask_value
Function
mask_value
awscli/customizations/configure/__init__.py:50–54 ·
view source on GitHub ↗
(current_value)
Source
from the content-addressed store, hash-verified
48
49
50
def
mask_value(current_value):
51
if
current_value is None:
52
return
'None'
53
else
:
54
return
(
'*'
* 16) + current_value[-4:]
55
56
57
def
profile_to_section(profile_name):
Callers
2
get_value
Method · 0.85
mask_value
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected