Comments (6)
@rfein-h As specified in readme, ice.s3AccessKeyId and ice.s3SecretKey need to be set as runtime parameters. They should not be defined in ice.properties file.
Thanks
-Fang
from ice.
@fangji Is there a reason why they can't be defined in ice.properties? That would be a neat way to hide them if you're not using AWS instance metadata. If you pass them as runtime java parameters any user able to list the running processes will be able to see the credentials, it's usually not best practice to pass sensitive data in command line options precisely because of this.
Thanks,
Nuno
from ice.
@nmcserra The idea is that you don't need to specify aws credentials while running Ice in the cloud. Providing the option to specify credentials as runtime parameters is only to enable people debugging/running ice on their local desktop.
from ice.
some of us run ice outside of aws, oddly enough. this is problematic because it means that your keys will be visible to anyone who can see the task's command line (i.e. anyone on the box)
from ice.
I just created a quick and dirty fix here - nyetsche@e6eb58f
I didn't add a pull request because I just ignored the System.getProperty()
option so you can only use the ice.properties
file. If there's interest I can rewrite and do a pull request.
Otherwise, there's a quick solution if you want to keep your credentials in that file.
from ice.
@fangji The documentation (https://github.com/Netflix/ice#basic-setup) says:
1.4 If running locally, set the following system properties at runtime. ice.s3AccessToken is optional.
ice.s3AccessKeyId=<accessKeyId>
ice.s3SecretKey=<secretKey>
ice.s3AccessToken=<accessToken>
I think it's a valid assumption that these will work if not running "locally" as well... at the least, this could be made more clear in the docs.
from ice.
Related Issues (20)
- ca-central-1 not shwoing up in UI HOT 3
- What is ice reports Timezone? HOT 2
- Project Status HOT 3
- ERROR basic.BasicReservationService - No Zone for ap-south-1c [doesn't actually exist] HOT 3
- JimRoth fork HOT 4
- Redshift RI's breaking ec2_instance costs
- Since the 12th of July 2019, EC2 reserved instances billing stopped working... HOT 6
- Question about Using AWS S3 in region "cn-northwest-1"(China) HOT 4
- ICE dashborad show wrong price HOT 2
- how to set Reserved Instance's Region? HOT 1
- How to set RI region?
- Can anyone explain what is "reservationUtilization=HEAVY" and FIXED? HOT 1
- Do ice support https? HOT 1
- How to change default listen url: http://localhost:8080/${appName}? HOT 2
- What does Usage mean on ice dashboard? HOT 3
- Any plan migrate from Detailed Billing Reports to Cost and Usage Reports? HOT 3
- ProcessorConfig.getAccountsFromOrganizations error in jimroth/ice fork
- Failed to parse billing file HOT 3
- ERROR BootStrap - Startup failed when running docker-compose up
- load AWS credentials from any provider in the chain HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ice.