Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liyapeng
/
log_collect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5b027a11
authored
Oct 11, 2023
by
robot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始文件准备
1 parent
109b6120
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
adl_log_collect.sh
coscli
adl_log_collect.sh
0 → 100644
View file @
5b027a1
#!/bin/bash
# 定义变量
# export COS_TMP_SECRET_ID=''
# export COS_TMP_SECRET_KEY=''
# export COS_TMP_SESSION_TOKEN=''
TMP_SECRET_ID
=
${
COS_TMP_SECRET_ID
}
TMP_SECRET_KEY
=
${
COS_TMP_SECRET_KEY
}
TMP_SESSION_TOKEN
=
${
COS_TMP_SESSION_TOKEN
}
BUCKET_NAME
=
'log-collection-1310972338'
ENDPOINT
=
'cos.ap-beijing.myqcloud.com'
# 检测变量值
echo
"debug vars"
echo
变量TMP_SECRET_ID 的值:
${
TMP_SECRET_ID
}
echo
变量TMP_SECRET_KEY 的值:
${
TMP_SECRET_KEY
}
echo
变量TMP_SESSION_TOKEN 的值:
${
TMP_SESSION_TOKEN
}
coscli
0 → 100755
View file @
5b027a1
The file could not be displayed because it is too large.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment