CINXE.COM

What is the purpose of the API key and where to store it? - Samsung Blockchain - Samsung Developer Forums

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>What is the purpose of the API key and where to store it? - Samsung Blockchain - Samsung Developer Forums</title> <meta name="description" content="I am new to mobile development and currently developing a react native Samsung Blockchain DApp using the platform SDK (without an API key). On the DApp submission process it says I have to request an API key. What is the&amp;hellip;"> <meta name="generator" content="Discourse 3.5.0.beta2-dev - https://github.com/discourse/discourse version 424da95128bd2e92c4d8e42baf65a947602e9c68"> <link rel="icon" type="image/png" href="https://global.discourse-cdn.com/samsung/optimized/2X/9/964f8eb137032f779273baa1c7af9bd688455c15_2_32x32.png"> <link rel="apple-touch-icon" type="image/png" href="https://global.discourse-cdn.com/samsung/optimized/2X/7/75c982d282b451956944fa699dcb6077caa005c3_2_180x180.png"> <meta name="theme-color" media="all" content="#ffffff"> <meta name="color-scheme" content="light"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover"> <link rel="canonical" href="https://forum.developer.samsung.com/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579" /> <link rel="search" type="application/opensearchdescription+xml" href="https://forum.developer.samsung.com/opensearch.xml" title="Samsung Developer Forums Search"> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/color_definitions_samsung-portal_17_27_bba06913e264d68b3dc8d1a8430769bb013a5f69.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" class="light-scheme"/> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/desktop_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="desktop" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/checklist_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="checklist" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-ai_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-ai" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-akismet_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-akismet" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-assign_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-assign" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-data-explorer_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-data-explorer" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-details_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-details" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-lazy-videos_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-lazy-videos" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-local-dates_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-local-dates" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-narrative-bot_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-narrative-bot" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-policy_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-policy" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-presence_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-presence" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-solved_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-solved" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-templates_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-templates" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-topic-voting_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-topic-voting" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/footnote_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="footnote" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/hosted-site_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="hosted-site" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/poll_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="poll" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/spoiler-alert_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="spoiler-alert" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-ai_desktop_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-ai_desktop" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/discourse-topic-voting_desktop_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="discourse-topic-voting_desktop" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/poll_desktop_7cca6b7197bc5527701514ed63490a6ed6591781.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="poll_desktop" /> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/desktop_theme_21_2d0bebef48e1e29990145266450f125f2e95cd0b.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="21" data-theme-name="versatile banner (official)"/> <link href="https://sea1.discourse-cdn.com/samsung/stylesheets/desktop_theme_27_117f204acddf5c8776aa8fba6dfc3aba7eb2cdbd.css?__ws=forum.developer.samsung.com" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="27" data-theme-name="samsung portal theme renewal 2024"/> <meta name="google-site-verification" content="fab7CHFKJlumAepIs8ztUQ0bmHHOIKCfWWM0zWV-xrM"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" crossorigin="anonymous" nonce="CJCwok0wE09S4DQGZy9CxIY9Y"></script> <script defer="" src="https://sea1.discourse-cdn.com/samsung/theme-javascripts/5ee41975075e5409c0b624b15e1f91c1b8f3ff2d.js?__ws=forum.developer.samsung.com" data-theme-id="27" nonce="CJCwok0wE09S4DQGZy9CxIY9Y"></script> <link rel="alternate nofollow" type="application/rss+xml" title="RSS feed of &#39;What is the purpose of the API key and where to store it?&#39;" href="https://forum.developer.samsung.com/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579.rss" /> <meta property="og:site_name" content="Samsung Developer Forums" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://global.discourse-cdn.com/samsung/original/2X/7/75c982d282b451956944fa699dcb6077caa005c3.png" /> <meta property="og:image" content="https://global.discourse-cdn.com/samsung/original/2X/7/75c982d282b451956944fa699dcb6077caa005c3.png" /> <meta property="og:url" content="https://forum.developer.samsung.com/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579" /> <meta name="twitter:url" content="https://forum.developer.samsung.com/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579" /> <meta property="og:title" content="What is the purpose of the API key and where to store it?" /> <meta name="twitter:title" content="What is the purpose of the API key and where to store it?" /> <meta property="og:description" content="I am new to mobile development and currently developing a react native Samsung Blockchain DApp using the platform SDK (without an API key). On the DApp submission process it says I have to request an API key. What is the purpose of this API key (do i have to use it anywhere in the code) and where do I store it inside the app (code) safely?" /> <meta name="twitter:description" content="I am new to mobile development and currently developing a react native Samsung Blockchain DApp using the platform SDK (without an API key). On the DApp submission process it says I have to request an API key. What is the purpose of this API key (do i have to use it anywhere in the code) and where do I store it inside the app (code) safely?" /> <meta property="og:article:section" content="Samsung Blockchain" /> <meta property="og:article:section:color" content="5a9af8" /> <meta name="twitter:label1" value="Reading time" /> <meta name="twitter:data1" value="1 mins 🕑" /> <meta name="twitter:label2" value="Likes" /> <meta name="twitter:data2" value="1 ❤" /> <meta property="article:published_time" content="2021-02-25T12:08:27+00:00" /> <meta property="og:ignore_canonical" content="true" /> <script type="application/ld+json">{"@context":"http://schema.org","@type":"QAPage","name":"What is the purpose of the API key and where to store it?","mainEntity":{"@type":"Question","name":"What is the purpose of the API key and where to store it?","text":"I am new to mobile development and currently developing a react native Samsung Blockchain DApp using the platform SDK (without an API key). On the DApp submission process it says I have to request an API key. What is the purpose of this API key (do i have to use it anywhere in the code) and where do&hellip;","upvoteCount":0,"answerCount":0,"datePublished":"2021-02-25T12:08:27.855Z","author":{"@type":"Person","name":"pabz","url":"https://forum.developer.samsung.com/u/pabz"}}}</script> </head> <body class="crawler browser-update"> <script defer="" src="https://sea1.discourse-cdn.com/samsung/theme-javascripts/6bdab111a2a2e1cb8f762c15ab2fdf7bb83f589b.js?__ws=forum.developer.samsung.com" data-theme-id="27" nonce="CJCwok0wE09S4DQGZy9CxIY9Y"></script> <header> <a href="/"> Samsung Developer Forums </a> </header> <div id="main-outlet" class="wrap" role="main"> <div id="topic-title"> <h1> <a href="/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579">What is the purpose of the API key and where to store it?</a> </h1> <div class="topic-category" itemscope itemtype="http://schema.org/BreadcrumbList"> <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/c/samsung-blockchain-keystore/24" class="badge-wrapper bullet" itemprop="item"> <span class='badge-category-bg' style='background-color: #5a9af8'></span> <span class='badge-category clear-badge'> <span class='category-name' itemprop='name'>Samsung Blockchain</span> </span> </a> <meta itemprop="position" content="1" /> </span> </div> </div> <div itemscope itemtype='http://schema.org/DiscussionForumPosting'> <meta itemprop='headline' content='What is the purpose of the API key and where to store it?'> <link itemprop='url' href='https://forum.developer.samsung.com/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579'> <meta itemprop='datePublished' content='2021-02-25T12:08:27Z'> <meta itemprop='articleSection' content='Samsung Blockchain'> <meta itemprop='keywords' content=''> <div itemprop='publisher' itemscope itemtype="http://schema.org/Organization"> <meta itemprop='name' content='Samsung Electronics America'> <div itemprop='logo' itemscope itemtype="http://schema.org/ImageObject"> <meta itemprop='url' content='https://global.discourse-cdn.com/samsung/original/2X/c/c6d1ae262484de2aec16600da8b70a3d92353146.svg'> </div> </div> <div id='post_1' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" rel='nofollow' href='https://forum.developer.samsung.com/u/pabz'><span itemprop='name'>pabz</span></a> </span> <link itemprop="mainEntityOfPage" href="https://forum.developer.samsung.com/t/what-is-the-purpose-of-the-api-key-and-where-to-store-it/11579"> <span class="crawler-post-infos"> <time datetime='2021-02-25T12:08:27Z' class='post-time'> February 25, 2021, 12:08pm </time> <meta itemprop='dateModified' content='2021-02-25T12:08:27Z'> <span itemprop='position'>1</span> </span> </div> <div class='post' itemprop='text'> <p>I am new to mobile development and currently developing a react native Samsung Blockchain DApp using the platform SDK (without an API key). On the DApp submission process it says I have to request an API key. What is the purpose of this API key (do i have to use it anywhere in the code) and where do I store it inside the app (code) safely?</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_2' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" rel='nofollow' href='https://forum.developer.samsung.com/u/shuvo.saha'><span itemprop='name'>shuvo.saha</span></a> </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2021-03-03T03:33:44Z' class='post-time'> March 3, 2021, 3:33am </time> <meta itemprop='dateModified' content='2021-03-03T03:33:44Z'> <span itemprop='position'>2</span> </span> </div> <div class='post' itemprop='text'> <p>Hello <a class="mention" href="/u/pabz">@pabz</a> ,</p> <p>Hope you are doing well! An API key is needed for using the Samsung Blockchain Keystore cold wallet through Samsung Blockchain Platform SDK.</p> <p>You can register to get the API Key from <a href="https://developer.samsung.com/partner/SamsungBlockchain/form?formName=Samsung%20Blockchain%20Keystore&amp;goBack=/blockchain/keystore/overview.html">here</a>. After obtaining the API Key you need to use this in your <code>AndroidMainfest.xml</code> file. To learn more please check Step 7 of the <a href="https://developer.samsung.com/blockchain/keystore/programing-guide/getting-started.html">Getting Started guide</a>.</p> <p>PS: If you find this answer helpful please press the “like” button so that others can find it more easily.</p> <p>Best Regards,<br> Shuvo<br> Samsung Developer Program</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="1" /> <span class='post-likes'>1 Like</span> </div> </div> </div> <div id="related-topics" class="more-topics__list " role="complementary" aria-labelledby="related-topics-title"> <h3 id="related-topics-title" class="more-topics__list-title"> Related topics </h3> <div class="topic-list-container" itemscope itemtype='http://schema.org/ItemList'> <meta itemprop='itemListOrder' content='http://schema.org/ItemListOrderDescending'> <table class='topic-list'> <thead> <tr> <th>Topic</th> <th></th> <th class="replies">Replies</th> <th class="views">Views</th> <th>Activity</th> </tr> </thead> <tbody> <tr class="topic-list-item" id="topic-list-item-13364"> <td class="main-link" itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'> <meta itemprop='position' content='1'> <span class="link-top-line"> <a itemprop='url' href='https://forum.developer.samsung.com/t/availability-of-blockchain-wallet/13364' class='title raw-link raw-topic-link'>Availability of blockchain wallet</a> </span> <div class="link-bottom-line"> <a href='/c/samsung-blockchain-keystore/24' class='badge-wrapper bullet'> <span class='badge-category-bg' style='background-color: #5a9af8'></span> <span class='badge-category clear-badge'> <span class='category-name'>Samsung Blockchain</span> </span> </a> <div class="discourse-tags"> </div> </div> </td> <td class="replies"> <span class='posts' title='posts'>1</span> </td> <td class="views"> <span class='views' title='views'>1925</span> </td> <td> May 19, 2021 </td> </tr> <tr class="topic-list-item" id="topic-list-item-9607"> <td class="main-link" itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'> <meta itemprop='position' content='2'> <span class="link-top-line"> <a itemprop='url' href='https://forum.developer.samsung.com/t/how-long-to-get-api-key/9607' class='title raw-link raw-topic-link'>How long to get API key?</a> </span> <div class="link-bottom-line"> <a href='/c/samsung-blockchain-keystore/24' class='badge-wrapper bullet'> <span class='badge-category-bg' style='background-color: #5a9af8'></span> <span class='badge-category clear-badge'> <span class='category-name'>Samsung Blockchain</span> </span> </a> <div class="discourse-tags"> </div> </div> </td> <td class="replies"> <span class='posts' title='posts'>1</span> </td> <td class="views"> <span class='views' title='views'>1316</span> </td> <td> December 9, 2020 </td> </tr> <tr class="topic-list-item" id="topic-list-item-9739"> <td class="main-link" itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'> <meta itemprop='position' content='3'> <span class="link-top-line"> <a itemprop='url' href='https://forum.developer.samsung.com/t/samsung-blockchain-sdk-with-vue-native/9739' class='title raw-link raw-topic-link'>Samsung blockchain SDK with Vue-native</a> </span> <div class="link-bottom-line"> <a href='/c/samsung-blockchain-keystore/24' class='badge-wrapper bullet'> <span class='badge-category-bg' style='background-color: #5a9af8'></span> <span class='badge-category clear-badge'> <span class='category-name'>Samsung Blockchain</span> </span> </a> <div class="discourse-tags"> </div> </div> </td> <td class="replies"> <span class='posts' title='posts'>3</span> </td> <td class="views"> <span class='views' title='views'>1541</span> </td> <td> December 15, 2020 </td> </tr> <tr class="topic-list-item" id="topic-list-item-16863"> <td class="main-link" itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'> <meta itemprop='position' content='4'> <span class="link-top-line"> <a itemprop='url' href='https://forum.developer.samsung.com/t/samsung-keystore-and-connect-wallet/16863' class='title raw-link raw-topic-link'>Samsung Keystore and Connect Wallet</a> </span> <div class="link-bottom-line"> <a href='/c/samsung-blockchain-keystore/24' class='badge-wrapper bullet'> <span class='badge-category-bg' style='background-color: #5a9af8'></span> <span class='badge-category clear-badge'> <span class='category-name'>Samsung Blockchain</span> </span> </a> <div class="discourse-tags"> </div> </div> </td> <td class="replies"> <span class='posts' title='posts'>3</span> </td> <td class="views"> <span class='views' title='views'>1835</span> </td> <td> October 29, 2021 </td> </tr> <tr class="topic-list-item" id="topic-list-item-10487"> <td class="main-link" itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'> <meta itemprop='position' content='5'> <span class="link-top-line"> <a itemprop='url' href='https://forum.developer.samsung.com/t/samsung-blockchain-keystore/10487' class='title raw-link raw-topic-link'>Samsung blockchain keystore</a> </span> <div class="link-bottom-line"> <a href='/c/samsung-blockchain-keystore/24' class='badge-wrapper bullet'> <span class='badge-category-bg' style='background-color: #5a9af8'></span> <span class='badge-category clear-badge'> <span class='category-name'>Samsung Blockchain</span> </span> </a> <div class="discourse-tags"> </div> </div> </td> <td class="replies"> <span class='posts' title='posts'>1</span> </td> <td class="views"> <span class='views' title='views'>1516</span> </td> <td> January 15, 2021 </td> </tr> </tbody> </table> </div> </div> </div> <footer class="container wrap"> <nav class='crawler-nav'> <ul> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/' itemprop="url">Home </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/categories' itemprop="url">Categories </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/guidelines' itemprop="url">Guidelines </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/tos' itemprop="url">Terms of Service </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/privacy' itemprop="url">Privacy Policy </a> </span> </li> </ul> </nav> <p class='powered-by-link'>Powered by <a href="https://www.discourse.org">Discourse</a>, best viewed with JavaScript enabled</p> </footer> <div class="buorg"><div>Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is unsupported</a>. Please <a href="https://browsehappy.com">switch to a supported browser</a> to view rich content, log in and reply.</div></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10