avatarEric Kulbiej

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

5791

Abstract

7156">I covered user-specific secrets here:</p><div id="744d" class="link-block"> <a href="https://readmedium.com/create-a-per-user-secret-in-secrets-manager-part-1-bb97b66e2a2d"> <div> <div> <h2>User-Specific Secrets on AWS: IAM Policies</h2> <div><h3>ACM.82 IAM Policies to allow users to describe their own secrets</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*PcniDpBJq2db0jbdryc_Nw.png)"></div> </div> </div> </a> </div><h2 id="aada">Create the user-specific Secret to store the automation credentials</h2><p id="a515">Next I create <b>SandboxDevAutomationSecret</b> in Secrets Manager, encrypted with my <b>Sandbox KMS key</b>.</p><figure id="e15e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*DQonCyF8UzPnZZoiGOKD9w.png"><figcaption></figcaption></figure><figure id="f7b3"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*zITxEtD__wFDwpPrBpqv4w.png"><figcaption></figcaption></figure><h2 id="2e63">Create a user-specific EC2 instance role for the SandboxDev user</h2><p id="3417">Next I create an EC2 instance role that the developer is allowed to pass to EC2 instances named <b>SandboxDevEC2Role</b>.</p><figure id="44ef"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*__fohZeTWjwdYrS__B4imQ.png"><figcaption></figcaption></figure><p id="eee9">The role will have a prefix with the username:</p><figure id="7afa"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*7dKW5KiQMivtKqjgzA_1Gw.png"><figcaption></figcaption></figure><p id="a338">This role is granted access to:</p><ul><li>Read the<b> SandboxDevSecret.</b></li><li>Pull containers from the <b>sandbox Elastic Container Repository.</b></li><li>Use the <b>sandbox KMS key </b>to access decrypt the secret and the container in the repository</li></ul><h2 id="df90">Create the Automation user</h2><p id="b752">Create the <b>SandboxDevAutomation</b> user. Do not give this user console access.</p><figure id="ddeb"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*QWVvQMA9aDCtmiVxSR61iw.png"><figcaption></figcaption></figure><p id="c19e">Remember that I already have a role (<b>CloneGitHubtoCodeCommitRole</b>) used by my batch job from prior posts. Create a policy that allows the SandboxDevAutomation user to use STS to assume that role.</p><p id="559f">The <b>SandboxDev</b> user needs permission to change the <b>credentials</b> <b>and</b> MFA device of the <b>SandboxDevAutomation</b> user.</p><h2 id="0f53">Edit the batch job role trust policy to allow the SandboxDevAutomation role to assume it</h2><p id="7f1d">We need to modify the trust policy to allow the <b>SandboxDevAutomation</b> <b>user</b> to assume the <b>CloneGitHubtoCodeCommitRole</b> role with MFA.</p><figure id="6ad1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*xAHGslW3SSbv6c5NO8mhzg.png"><figcaption></figcaption></figure><p id="7ad0">Edit the trust policy:</p><figure id="cfaf"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Vna71G_F2e-8Vdtw4yBwFw.png"><figcaption></figcaption></figure><p id="6a5a">Change the user to SandboxDev:</p><figure id="f788"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*vpSqEqjFa_qg59v_dnPCzQ.png"><figcaption></figcaption></figure><h2 id="49b3">Add permissions to KMS Key Resource Policy</h2><p id="8cf1">Next I need to allow the <b>SandboxDev</b> user to encrypt and decrypt and the <b>SanboxDevEC2Role</b> to decrypt with the <b>sandbox KMS Key.</b> I edit my automation to add those two roles to the encrypt and decrypt users.</p><figure id="380f"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*UkzCt10p0iqCR4OpMs6uhQ.png"><figcaption></figcaption></figure><h2 id="d015">Login as SandboxDev</h2><p id="725d">Log into the AWS Console with the SandboxDev user. If you’ve been following along, you have an account with a prefix specific to your organization and -Dev at the end if you used my deployment scripts.</p><figure id="13d5"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*5L-3C9ORVXOWv6KRdCkBLg.png"><figcaption></figcaption></figure><h2 id="d260">Add MFA devices</h2><p id="5cca">Add a Hardware MFA device to the SandboxDev User.</p><figure id="21f0"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*8s8rTuyWOsLAQUEqfwTtOQ.png"><figcaption></figcaption></figure><p id="c0e6">Add a Virtual MFA device to the SandboxDevAutomation User.</p><p id="5cec">I explain why I do not use a Yubikey to generate MFA codes here:</p><div id="1308" class="link-block"> <a href="https://readmedium.com/the-yubikey-cli-and-aws-mfa-50e6be0698a7"> <div> <div> <h2>The Yubikey CLI and AWS MFA</h2> <div><h3>ACM.11 Considering the attack surface and MFA choices for our Security Batch Jobs</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*SFAKbcK__GlbJbJJJVXK9w.png)"></div> </div> </div> </a> </div><figure id="5893"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*iFl4DTQNuplt-SGONHpNYw.png"><figcaption></figcaption></figure><h2 id="d7df">Create automation credentials</h2><p id="b9e4">Create an <b>Access key</b> for the <b>SandboxDevAutomation</b> user.</p><figure id="7f1e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*KoVfxp-aJvzBiacPyFeMlA.png"><figcaption></figcap

Options

tion></figure><p id="217e">I have explained before that I disagree with the verbiage on this page. The CLI in the browser has a much larger attack surface and it depends how you are using the keys.</p><figure id="0423"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*_CCe4xu8AcNLloUHgvF5Aw.png"><figcaption></figcaption></figure><h2 id="8caa">Store the credentials in the SandboxDevAutomationSecret</h2><p id="24aa">Head to the Secrets Manager dashboard.</p><p id="432d">Click on the SandboxDevAutomationSecret.</p><figure id="6893"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*cz9jnYSnBsGXf9Y8VZjGPQ.png"><figcaption></figcaption></figure><p id="f616">Store the secret key id and secret access key.</p><figure id="4b95"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*-G9eR929nKSsGWrsOuzucg.png"><figcaption></figcaption></figure><h2 id="5496">Test Launching an EC2 Instance with the SandboxDev role</h2><p id="8907">Head over the EC2 dashboard and test launching an EC2 Instance. Recall that the Instance name needs to match what we specified in the policy above.</p><figure id="a1c7"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*FqCLLp7V854JJZa88TIdvA.png"><figcaption></figcaption></figure><p id="2bc8">If you need to decode any error messages I explained how to do that here:</p><div id="bb13" class="link-block"> <a href="https://readmedium.com/decoding-aws-error-messages-db0e0cbecf0d"> <div> <div> <h2>Decoding AWS Error Messages</h2> <div><h3>Free Content on Jobs in Cybersecurity | Sign up for the Email List</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*4oxP4LXk8l8c3mpRvO7ejg.png)"></div> </div> </div> </a> </div><p id="bd85">Choose the existing networking created for EC2 instances from prior posts.</p><div id="a149" class="link-block"> <a href="https://readmedium.com/automating-cybersecurity-metrics-890dfabb6198"> <div> <div> <h2>Automating Cybersecurity Metrics (ACM)</h2> <div><h3>A series of blog posts on cybersecurity metrics and security automation</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*L9lEIsaWt6xm2Op2ww-G5w.png)"></div> </div> </div> </a> </div><p id="2937">Choose the role we created under Advanced details.</p><figure id="8870"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*oHJior3Ueea6woDB1zqqKQ.png"><figcaption></figcaption></figure><p id="a822">One note that took me a bit to resolve. The message when your user does not have permission to pass the IAM role to the EC2 instance is a bit ambiguous.</p><div id="a0fb" class="link-block"> <a href="https://readmedium.com/ambiguous-error-message-when-a-user-doesnt-have-permission-to-pass-a-specific-iam-role-to-an-ec2-b005f338b6df"> <div> <div> <h2>Ambiguous Error Message When a User Doesn’t Have Permission to Pass a Specific IAM Role to an EC2…</h2> <div><h3>This error message needs to be more specific and doesn’t show up in CloudTrail for the User Name</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*4oxP4LXk8l8c3mpRvO7ejg.png)"></div> </div> </div> </a> </div><p id="51b2">Getting the resources setup took some time because I realized I had to revise my approach. I didn’t automate any of this but I will in the future. For now I just want to make sure it works. I can also figure out what permissions each policy requires.</p><p id="1fb5">I will test the initialization script in the next post.</p><p id="2c31">Follow for updates.</p><p id="4a3a">Teri Radichel | <i>© <a href="https://2ndsightlab.com/?source=post_page---------------------------">2nd Sight Lab</a> 2023</i></p><div id="8b5f"><pre><span class="hljs-section">About Teri Radichel:

⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab</pre></div><div id="caae"><pre><span class="hljs-section">Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span>
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation</pre></div><div id="530b"><pre>Follow <span class="hljs-keyword">for</span> more stories like <span class="hljs-keyword">this</span>:

❤️ Sign Up my Medium Email List ❤️ Twitter: <span class="hljs-meta">@teriradichel</span> ❤️ LinkedIn: https:<span class="hljs-comment">//www.linkedin.com/in/teriradichel</span> ❤️ Mastodon: <span class="hljs-meta">@teriradichel</span><span class="hljs-meta">@infosec</span>.exchange ❤️ Facebook: 2nd Sight Lab ❤️ YouTube: @2ndsightlab</pre></div><figure id="eecf"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*H9Ew1KCl-29nZiPR.jpeg"><figcaption></figcaption></figure></article></body>

PRODUCTIVITY

These 100 Quotes That Will Make You Achieve Great Success (and Boost Your Productivity 10X)

The very best motivational quotes for working more effectively, developing, growing, and achieving personal success

Photo by David Gavi on Unsplash

The internet is a treasure trove of inspirational quotes for work productivity, self-improvement, growth, and personal success.

These quotes can help you stay motivated and on track during your day-to-day tasks.

Such quotes, if re-read often, can act as a permanent confidence boost.

In the following collection, I have gathered only the best of the best

#1 — #25 Quotes On Productivity

  1. “Focus on being productive instead of busy.” — Tim Ferriss
  2. “Productivity is being able to do things that you were never able to do before.” — Franz Kafka
  3. “My goal is no longer to get more done, but rather to have less to do.” — Francine Jay
  4. “You miss 100% of the shots you don’t take.” — Wayne Gretzky
  5. “If you spend too much time thinking about a thing, you’ll never get it done.” — Bruce Lee
  6. “Until we can manage time, we can manage nothing else.” — Peter Drucker
  7. “It’s not that I’m so smart, it’s just that I stay with problems longer.” — Albert Einstein
  8. “He who is not courageous enough to take risks will accomplish nothing in life.” — Muhammad Ali
  9. “Action is the foundational key to all success.” — Picasso
  10. “Why do anything unless it is going to be great?” — Peter Block
  11. “Ordinary people think merely of spending time, great people think of using it.” — Arthur Schopenhauer
  12. “The key is not to prioritize what’s on your schedule, but to schedule your priorities.” — Stephen Covey
  13. “Your mind is for having ideas, not holding them.” — David Allen
  14. “Productivity is never an accident. It is always the result of a commitment to excellence, intelligent planning, and focused effort.” — Paul J. Meyer
  15. “Great acts are made up of small deeds.” — Lao Tzu
  16. “Don’t wait. The time will never be just right.” — Napoleon Hill
  17. “It is not enough to be busy…. The question is: What are we busy about?” — Henry David Thoreau
  18. “Effective performance is preceded by painstaking preparation” — Brian Tracy
  19. “The way to get started is to quit talking and begin doing.” — Walt Disney
  20. “People often remark that I’m pretty lucky. Luck is only important in so far as getting the chance to sell yourself at the right moment. After that, you’ve got to have talent and to know how to use it.” — Frank Sinatra
  21. “Plans are nothing; planning is everything.” — Dwight D. Eisenhower
  22. “You don’t have to see the whole staircase, just take the first step.” — Martin Luther King
  23. “Lost time is never found.” — Benjamin Franklin
  24. “Do the hard jobs first. The easy jobs will take care of themselves.” — Dale Carnegie
  25. “You may delay, but time will not.” — Benjamin Franklin

#26–#50 Quotes On Self-Improvement

  1. “Amateurs sit and wait for inspiration, the rest of us just get up and go to work.” — Stephen King
  2. “After every difficulty, ask yourself two questions: “What did I do right?” and “What would I do differently?” Brian Tracy
  3. “Doing the best at this moment puts you in the best place for the next moment.” Oprah Winfrey
  4. “Keep away from people who try to belittle your ambitions. Small people always do that, but the really great make you feel that you, too, can become great.” Mark Twain
  5. “The successful warrior is the average man, with laser-like focus.” Bruce Lee
  6. “Live as if you were to die tomorrow. Learn as if you were to live forever.” Mahatma Gandhi
  7. “If I had eight hours to chop down a tree, I’d spend six hours sharpening my axe.” Abraham Lincoln
  8. “People think focus means saying yes to the thing you’ve got to focus on. It means saying no to the hundred other good ideas that there are. You have to pick carefully.” — Steve Jobs
  9. “If you can’t explain it simply, you don’t understand it well enough.” — Albert Einstein
  10. “Be miserable. Or motivate yourself. Whatever has to be done, it’s always your choice.” — Wayne Dyer
  11. “A man can be as great as he wants to be. If you believe in yourself and have the courage, the determination, the dedication, the competitive drive and if you are willing to sacrifice the little things in life and pay the price for the things that are worthwhile, it can be done.” — Vince Lombardi
  12. “Don’t go through life, grow through life.” — Eric Butterworth
  13. “If there is no struggle, there is no progress.” — Frederick Douglass
  14. “Do the best you can until you know better. Then when you know better, do better.” — Maya Angelou
  15. “Twenty years from now you will be more disappointed by the things that you didn’t do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbour. Catch the trade winds in your sails. Explore. Dream. Discover.” — Mark Twain
  16. “It is never too late to be who you might have been.” — George Eliot
  17. “The will to win, the desire to succeed, the urge to reach your full potential…these are the keys that will unlock the door to personal excellence.” — Confucius
  18. “The tragedy in life doesn’t lie in not reaching your goal. The tragedy lies in having no goal to reach.” — Benjamin Mays
  19. “Be patient with yourself. Self-growth is tender; it’s holy ground. There’s no greater investment.” — Stephen Covey
  20. “Between stimulus and response, there is a space. In that space is our power to choose our response. In our response lies our growth and our freedom.” — Viktor Frankl
  21. “What we think, we become.” Buddha
  22. “The only journey is the journey within.” — Rainer Maria Rilke
  23. “Life isn’t about finding yourself. Life is about creating yourself.” — George Bernard Shaw
  24. “A person who never made a mistake never tried anything new.” Albert Einstein
  25. “Knowing others is intelligence; knowing yourself is true wisdom. Mastering others is strength; mastering yourself is true power.” Lao Tzu

#51–#75 Quotes On Growth

  1. “It is not the strongest of the species that survive, nor the most intelligent, but the ones most responsive to change.” — Charles Darwin
  2. “You don’t need a new plan for next year. You need a commitment.” — Seth Godin
  3. “When you have to make a choice and don’t make it, that in itself is a choice.” — William James
  4. “There is no substitute for hard work.” — Thomas Edison
  5. “Never give in except to convictions of honour and good sense.” — Winston Churchill
  6. “The only limit to our realization of tomorrow will be our doubts of today.” — Franklin D. Roosevelt
  7. “The way to get started is to quit talking and begin doing.” — Walt Disney
  8. “Fall seven times and stand up eight.” — Japanese Proverb
  9. “I never did anything worth doing by accident, nor did any of my inventions come indirectly through accident, except the phonograph. No, when I have fully decided that a result is worth getting, I go about it, and make trial after trial, until it comes.” — Thomas Edison
  10. “Do not be embarrassed by your failures, learn from them and start again.” Richard Branson
  11. “If the only tool you have is a hammer, you tend to see every problem as a nail.” Abraham Maslow
  12. “Obstacles are those frightful things you see when you take your eyes off the goal.” — Henry Ford
  13. “Sometimes, things may not go your way, but the effort should be there every single night.” — Michael Jordan
  14. “If you’re going through hell, keep going.” Winston Churchill
  15. “In a moment of decision, the best thing you can do is the right thing to do, the next best thing is the wrong thing, and the worst thing you can do is nothing.” — Theodore Roosevelt
  16. “What seems to us as bitter trials are often blessings in disguise.” — Oscar Wilde
  17. “The best revenge is massive success.” — Frank Sinatra
  18. “Take time to deliberate, but when the time for action has arrived, stop thinking and go in.” Napoleon Bonaparte
  19. “The question isn’t who is going to let me; it’s who is going to stop me.” Ayn Rand
  20. “All the adversity I’ve had in my life, all my troubles and obstacles, have strengthened me… You may not realize it when it happens, but a kick in the teeth may be the best thing in the world for you.” Walt Disney
  21. “I have not failed. I’ve just found 10,000 ways that won’t work.” — Thomas A. Edison
  22. “There is no traffic jam along the extra mile.” — Roger Staubach
  23. “You can’t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something–your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.” — Steve Jobs
  24. “The number one reason people fail in life is because they listen to their friends, family, and neighbours.” — Napoleon Hill
  25. “You may have to fight a battle more than once to win it.” — Margaret Thatcher

#76–#100 Quotes On Success

  1. “The road to success and the road to failure are almost exactly the same.” — Colin R. Davis
  2. “Strive not to be a success, but rather to be of value.” — Albert Einstein
  3. “Success is often achieved by those who don’t know that failure is inevitable.” — Coco Chanel
  4. “Success usually comes to those who are too busy to be looking for it.” — Henry David Thoreau
  5. “I find that the harder I work, the more luck I seem to have.” — Thomas Jefferson
  6. “Don’t let the fear of losing be greater than the excitement of winning.” — Robert Kiyosaki
  7. “If you really look closely, most overnight successes took a long time.” — Steve Jobs
  8. “The only place where success comes before work is in the dictionary.” — Vidal Sassoon
  9. “Success is simple. Do what’s right, the right way, at the right time.” Arnold H. Glasgow
  10. “Action is the foundational key to all success.” Pablo Picasso
  11. “Success is going from failure to failure without losing enthusiasm.” Winston Churchill
  12. “You have to learn the rules of the game. And then you have to play better than anyone else.” Albert Einstein
  13. “The distance between insanity and genius is measured only by success.” Bruce Feirstein
  14. “To succeed in life, you need two things: ignorance and confidence.” — Mark Twain
  15. “Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don’t quit.” Conrad Hilton
  16. “Whenever you see a successful person, you only see the public glories, never the private sacrifices to reach them.” Vaibhav Shah
  17. “It always seems impossible until it’s done.” Nelson Mandela
  18. “There are no secrets to success. It is the result of preparation, hard work, and learning from failure.” Colin Powell
  19. “Success is the sum of small efforts, repeated day-in, and day-out.” — Robert Collier
  20. “A real entrepreneur is somebody who has no safety net underneath them.” — Henry Kravis
  21. “You must expect great things of yourself before you can do them.” — Michael Jordan
  22. “People rarely succeed unless they have fun in what they are doing.” — Dale Carnegie
  23. “Success is a lousy teacher. It seduces smart people into thinking they can’t lose.” — Bill Gates
  24. “Success is no accident. It is hard work, perseverance, learning, studying, sacrifice and most of all, love of what you are doing or learning to do.” — Pelé
  25. “However difficult life may seem, there is always something you can do and succeed at.” — Stephen Hawking

And the last, but not the least, 101st quote:

“The less you want to work, the more you have to.”

— Eric Kulbiej

Photo by Artur Aldyrkhanov on Unsplash

When you’re doing something that brings you joy, it’s easy to be productive. You’re not worrying about making mistakes because you’re excited about what you’re doing.

And who doesn’t take risks when they’re enjoying themselves? Risks are part of the excitement.

Of course, there will be times when things don’t go as planned and we make mistakes. But that’s okay!

We learn from our mistakes and become better people as a result. Plus, if we’re constantly striving for perfection we’ll never get anything done. It’s important to embrace failure and learn from it.

In conclusion, time is a precious commodity that should be managed in the most efficient way possible.

By learning how to manage your time, you can become more productive and achieve your goals.

So, start using time management techniques today and see how much more you can accomplish!

Hi, it’s Eric. Thank you for reading. I hope you’ve found the article at least slightly compelling. What can you do now?

Cheers!

Quotes
Productivity
Advice
Personal Development
Self Improvement
Recommended from ReadMedium